CVE-2018-6530: D-Link Multiple Routers OS Command Injection Vulnerability
CVE-2018-6530 is a critical-severity flaw (CVSS 9.8) affecting dir-860l firmware, dir-865l firmware, dir-868l firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
OS command injection vulnerability in soap.cgi (soapcgi_main in cgibin) in D-Link DIR-880L DIR-880L_REVA_FIRMWARE_PATCH_1.08B04 and previous versions, DIR-868L DIR868LA1_FW112b04 and previous versions, DIR-65L DIR-865L_REVA_FIRMWARE_PATCH_1.08.B01 and previous versions, and DIR-860L DIR860LA1_FW110b04 and previous versions allows remote attackers to execute arbitrary OS commands via the service parameter.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 96.7% (top 1%) |
| CISA exploited list | Yes, fix due 2022-09-29, used in ransomware |
| Weakness | CWE-78 |
| Published | 2018-03-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/TheBeeMan/Pwning-multiple-dlink-router-via-SOAP-proto
- Nuclei scan template: D-Link - Unauthenticated Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-6530?
dir-860l firmware: upgrade to newer than 1.10b04; dir-865l firmware: upgrade to newer than 1.08b01; dir-868l firmware: upgrade to newer than 1.12b04. Exact commands for each OS are on this page.
Is CVE-2018-6530 being exploited?
Yes. CVE-2018-6530 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2018-6530 affect?
CVE-2018-6530 affects dir-860l firmware, dir-865l firmware, dir-868l firmware. Severity is critical (CVSS 9.8). OS command injection vulnerability in soap.cgi (soapcgi_main in cgibin) in D-Link DIR-880L DIR-880L_REVA_FIRMWARE_PATCH_1.08B04 and previous versions, DIR-868L DIR868LA1_FW112b04 and previous versions, DIR-65L DIR-865L_REVA_FIRMWARE_PATCH_1
How urgent is CVE-2018-6530?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-9026 HIGH 7.3 MITIGATE A vulnerability was identified in D-Link DIR-860L 2.04.B04
- CVE-2024-42812 CRITICAL 9.8 MITIGATE In D-Link DIR-860L v2.03, there is a buffer overflow vulnerability due to the lack of length verification for
- CVE-2024-41611 CRITICAL 9.8 MITIGATE In D-Link DIR-860L REVA FIRMWARE PATCH 1.10..B04, the Telnet service contains hardcoded credentials, enabling
- CVE-2024-37605 MEDIUM 6.5 MITIGATE A NULL pointer dereference in D-Link DIR-860L REVB_FIRMWARE_2.04.B04_ic5b allows attackers to cause a Denial o
- CVE-2020-25786 MEDIUM 6.1 MITIGATE MITIGATE webinc/js/info.php on D-Link DIR-816L 2.06.B09_BETA and DIR-803 1.04.B02 devices allows XSS via the HTTP Refer