Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2018-25120: Unauthenticated Command Injection in D-Link DNS-343 Mail Test

Published Oct 29, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.3Critical · v4
EPSS9.8%96th percentile
CISA KEVNoNot listed
In the wildReported12 exploitation records in Mallory
Vendor
D-Link
IdentifiersCVE-2018-25120CWE-78 · Improper Neutralization of Special…

CVE-2018-25120 is a command injection vulnerability in D-Link DNS-343 ShareCenter devices running firmware 1.05 and earlier. The issue is present in the Mail Test functionality, where the web maintenance script submits data to the internal goForm endpoint '/goform/Mail_Test'. Multiple form parameters are incorporated directly into a call to a system email utility without proper input validation or sanitization. Because attacker-controlled input reaches a shell-invoked command path, a remote attacker can inject arbitrary shell metacharacters and commands. The vulnerability is exploitable without authentication and results in command execution in the context of the device's root account.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 allows an unauthenticated remote attacker to execute arbitrary commands as root on the affected NAS device. This can lead to full compromise of the appliance, including unauthorized access to stored data, modification or deletion of files, installation of persistent malware or backdoors, reconfiguration of services, use of the device as a pivot point within the network, and complete loss of confidentiality, integrity, and availability of the system.

Mitigation

If you can’t patch tonight, do this now.

Do not expose the DNS-343 web management interface to the internet or untrusted networks. Restrict access to the administrative interface to a dedicated management network or specific trusted IP addresses using firewall rules or network ACLs. If possible, disable or avoid use of the Mail Test functionality. Place the device behind a VPN for administrative access, monitor for unexpected process execution or configuration changes, and segment the device from sensitive internal systems. Because the product is end-of-life, mitigation should be treated only as a temporary risk-reduction measure pending replacement.

Remediation

Patch, then assume compromise.

Upgrade to a fixed firmware version if one is available from D-Link. However, the provided content states that the DNS-343 product line is end-of-life, so a vendor-supported security fix may not be available. The most appropriate remediation is to retire and replace affected DNS-343 devices with supported hardware. If the device must remain in service temporarily, remove or restrict access to the vulnerable management interface as much as possible until replacement is completed.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
D-LinkDns-343 Firmwareoperating_system
D-LinkDns-343 Sharecenterapplication
FAQ

Frequently asked questions

Is CVE-2018-25120 exploited in the wild?
Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2018-25120?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2018-25120.
Is there a patch for CVE-2018-25120?
Upgrade to a fixed firmware version if one is available from D-Link. However, the provided content states that the DNS-343 product line is end-of-life, so a vendor-supported security fix may not be available.
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 9.8% (96th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

5 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity5Community discussion across Reddit, Mastodon, and other social sources.