CVE-2018-25120: D-Link DNS-343 ShareCenter <= 1.05 Command Injection via /goform/Mail_Test
D-Link DNS-343 ShareCenter devices running firmware versions up to and including 1.05 contain a command injection vulnerability in the Mail Test functionality. The web maintenance script posts to the internal goForm endpoint '/goform/Mail_Test' and uses several form parameters directly in a call to a system email utility without proper input validation. An unauthenticated remote attacker can supply crafted form data that injects shell commands, resulting in execution as root on the device. NOTE: The DNS-343 product line has been declared end-of-life.
Security readout for executives and security teams
Plain-English summary
This is a critical flaw in an end-of-life D-Link DNS-343 NAS. A remote unauthenticated attacker could abuse the Mail Test feature to run operating-system commands as root. Treat any reachable legacy DNS-343 as high business risk until isolated, replaced, or proven not vulnerable.
Executive priority
Prioritize this for any environment still using DNS-343 storage. The combination of unauthenticated remote root execution, public exploit material, and end-of-life status makes replacement or strict isolation urgent.
Technical view
The vulnerability is CWE-78 command injection in DNS-343 firmware up to and including 1.05. The web Mail Test flow posts to /goform/Mail_Test and passes form input to a system email utility without proper validation, allowing remote root command execution without authentication.
Likely exposure
Exposure is limited to D-Link DNS-343 ShareCenter devices on affected firmware, especially where the web interface is reachable from untrusted networks. The product is end-of-life, so unsupported legacy NAS deployments are the main concern.
Exploitation context
The bundle cites public exploit references, but does not establish active exploitation. The CVE is not marked KEV. Because attack requires network access and no authentication, exposed devices should be treated as readily exploitable.
Researcher notes
Source evidence supports unauthenticated command injection as root through the Mail Test endpoint. The source bundle has an affected-version inconsistency, but its description and advisory references state firmware through 1.05 is affected. No vendor patch details are provided in the bundle.
Mitigation direction
Inventory and identify any D-Link DNS-343 ShareCenter devices.
Remove management access from the internet and untrusted networks.
Restrict administration to a trusted management network or VPN.
Check D-Link guidance for any available firmware or support statement.
Plan replacement or decommissioning because the product is end-of-life.
Review affected devices for signs of unauthorized administrative access.
Validation and detection
Confirm device model and firmware version for each DNS-343 asset.
Verify whether the web interface is reachable from untrusted networks.
Check perimeter scans for exposed DNS-343 management services.
Review logs for suspicious access to Mail Test or goForm endpoints.
Validate compensating controls after isolation or access restriction.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.