CVE-2018-6530: Unauthenticated OS command injection in D-Link router SOAP interface
- Vendor
- D-Link
CVE-2018-6530 is an OS command injection vulnerability in the SOAP interface of multiple D-Link DIR-series routers. The soapcgi_main function in the CGI binary handles the service parameter without adequate sanitization, allowing unauthenticated remote attackers to execute arbitrary operating-system commands. The vulnerability has been exploited to deploy MooBot malware on affected routers.
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 permits arbitrary OS command execution and attacker control of affected routers. Observed exploitation downloaded and executed MooBot payloads, incorporating compromised devices into a botnet capable of launching distributed denial-of-service attacks.
Mitigation
If you can’t patch tonight, do this now.
Disable unnecessary exposed services and restrict network access to the vulnerable SOAP interface. Segment affected routers and other IoT devices from critical systems to limit the consequences of compromise. Strong credentials are useful general hardening but do not address this unauthenticated command injection vulnerability.
Remediation
Patch, then assume compromise.
Apply the relevant D-Link security patches and firmware upgrades where available. Specific fixed firmware versions are not available in the supplied vulnerability information.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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-6530 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 8, 2022.
- Is there a public exploit for CVE-2018-6530?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2018-6530.
- Is there a patch for CVE-2018-6530?
- Apply the relevant D-Link security patches and firmware upgrades where available. Specific fixed firmware versions are not available in the supplied vulnerability information.
- What products are affected by CVE-2018-6530?
- D-Link Dir-860l Firmware, D-Link Dir-865l Firmware, D-Link Dir-868l Firmware, and D-Link Dir-880l Firmware.
- How severe is CVE-2018-6530?
- CVE-2018-6530 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 96.7% (100th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.