CVE-2018-25120: Unauthenticated Root Command Injection in D-Link DNS-343 Mail Test
- Vendor
- D-Link
D-Link DNS-343 ShareCenter devices running firmware versions through 1.05 contain an OS command injection vulnerability in the Mail Test functionality. The web maintenance handler incorporates attacker-controlled form parameters, including f_smtpserver, into an invocation of a system email utility without adequate validation. An unauthenticated remote attacker can submit crafted form data to execute arbitrary shell commands as root. The DNS-343 product line is end-of-life.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the NAS with root privileges, exposing stored data and system configuration to unauthorized access, modification, or deletion. Attackers can install malware, establish persistence, disrupt storage services, and potentially use the device to attack other reachable systems. RondoDox activity has included attempts to exploit this vulnerability to retrieve and execute malware.
Mitigation
If you can’t patch tonight, do this now.
Remove direct Internet exposure of the device's web management interface. Restrict management access to trusted administrative hosts using firewall rules and network segmentation, and require VPN access for remote administration. Limit outbound connectivity to reduce malware retrieval and command-and-control opportunities. These measures reduce exposure but do not correct the command injection flaw.
Remediation
Patch, then assume compromise.
Replace the end-of-life DNS-343 with a supported NAS platform. No fixed firmware version is identified in the available information; firmware versions through 1.05 are affected.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-25120 exploited in the wild?
- Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2018-25120?
- Yes. As of Nov 26, 2026, Mallory has reports of a public exploit for CVE-2018-25120.
- Is there a patch for CVE-2018-25120?
- Replace the end-of-life DNS-343 with a supported NAS platform. No fixed firmware version is identified in the available information; firmware versions through 1.05 are affected.
- What products are affected by CVE-2018-25120?
- D-Link Dns-343 Sharecenter and D-Link Dns-343 Firmware.
- How severe is CVE-2018-25120?
- CVE-2018-25120 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 23.4% (98th percentile) as of Nov 26, 2026.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.