What are D-Link routers?
D-Link is one of the largest consumer and small-business networking hardware vendors, with routers deployed in millions of homes and small offices worldwide. Consumer routers of this class are a perennial target for internet-scanning botnets: they are numerous, frequently left with default settings and unpatched firmware for years, and — because they sit at the network edge — compromising one gives an attacker both an internet-routable device to abuse (for DDoS, proxying, or further scanning) and a foothold into whatever local network sits behind it.
Overview
CVE-2018-6530 is a critical, unauthenticated OS command injection vulnerability affecting multiple D-Link router models. A remote attacker with no credentials can send a crafted request to the device's management interface that results in execution of arbitrary operating system commands, granting them full control over the router.
Technical Details
The vulnerability is classified under CWE-78 (OS command injection): a parameter passed to the router's management or SOAP-based configuration interface is passed insufficiently sanitized into a system-level command execution call, allowing an attacker to append additional shell commands of their choosing. Because the CVSS vector shows no privileges or user interaction required, exploitation is possible with a single network request against any reachable, vulnerable device — the hallmark of a bug well-suited to mass, automated scanning and exploitation across the internet.
Discovery
D-Link addressed this vulnerability through its security advisory process (SAP10105). The vendor has stated that the underlying fix is tracked under a separate CVE (CVE-2018-20114), and that applying that fix resolves this KEV entry as well. No specific third-party researcher credit is confidently documented for the original discovery.
Exploitation Context
Consumer router command injection vulnerabilities of this type have a long history of exploitation by IoT botnet operators — Mirai and its many derivatives have repeatedly targeted D-Link and similar consumer router lines via SOAP/HNAP and other management-interface command injection bugs to recruit devices into DDoS botnets. CISA's KEV listing confirms active exploitation of this specific CVE, and its ransomwareUse: true marker reflects that compromised routers have also been leveraged as part of broader intrusion and ransomware-adjacent campaigns, not just DDoS botnet recruitment.
Remediation
- Identify all D-Link router models in use and confirm whether the fix (tracked under CVE-2018-20114) has been applied, per D-Link's SAP10105 advisory.
- If the affected model has reached end-of-life and no longer receives security updates, replace it with a currently supported, actively patched device.
- Disable remote/WAN-side access to the router's management interface, restricting configuration access to the local trusted network only.
- Change default administrative credentials immediately and disable UPnP or other unnecessary exposed services on the device.
- Monitor for signs of compromise — unexpected outbound traffic, DNS changes, or unfamiliar devices on the network — consistent with router-level botnet recruitment.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2018-6530 |
| Vendor / Product | D-Link — Multiple Routers |
| NVD Published | 2018-03-06 |
| NVD Last Modified | 2025-11-07 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-78 find similar ↗ |
| CISA KEV Added | 2022-09-08 |
| CISA KEV Deadline | 2022-09-29 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2018-03-06 | CVE published |
| 2018 | D-Link ships a fix, later tracked under the related CVE-2018-20114, which the vendor states properly resolves this vulnerability |
| 2022-09-08 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-09-29 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2018-6530 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| D-Link Security Advisory SAP10105 | Vendor Advisory |