← Vulnerability feed

Vulnerability record · CVE-2018-6530 · published 6 March 2018

CVE-2018-6530: D-Link DIR router soap.cgi OS command injection

Dlink · Dir 860l Firmware

soap.cgi (soapcgi_main in cgibin) on several D-Link DIR router models fails to sanitize the service parameter, allowing OS command injection. The flaw is remotely reachable without authentication and carries a CVSS 3.1 score of 9.8, so any exposed device is at immediate risk of full compromise.

9.8 CVSS 3.1 Critical CISA KEV since 8 Sep 2022 Known ransomware use EPSS 97% · top 0.1% CWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 10.0
97%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
4Affected product versions listed by NVD
11References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityUnauthenticated remote OS command injection with a 9.8 CVSS score, confirmed in-the-wild exploitation, KEV listing and near-certain EPSS probability.

What it is

soap.cgi (soapcgi_main in cgibin) on several D-Link DIR router models fails to sanitize the service parameter, allowing OS command injection. The flaw is remotely reachable without authentication and carries a CVSS 3.1 score of 9.8, so any exposed device is at immediate risk of full compromise.

Impact

An attacker can execute arbitrary OS commands on the router, gaining full control of the device and its network position. That enables traffic interception, credential capture and use of the router as a pivot into the internal network.

Attack surface

Reached over the network via the SOAP interface on soap.cgi; the CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates no authentication and no user interaction are required. Devices with the web management interface exposed to the internet are directly reachable.

Exploitation

CISA added it to KEV on 2022-09-08 with known ransomware campaign use, EPSS 30-day probability is 0.96682 (99.88th percentile), and a public third-party exploit reference exists. Exploitation is confirmed in the wild.

What to do

  • Apply the vendor firmware updates referenced in the D-Link advisories; D-Link states the fix under CVE-2018-20114 properly patches this issue.
  • If the model is end-of-life and unsupported, disconnect it or replace it, as CISA directs.
  • Remove internet exposure of the router web/SOAP management interface and restrict administration to the LAN.
  • Segment or isolate these routers on the network and monitor them as untrusted devices until patched or replaced.

Detection

  • Inspect HTTP requests to soap.cgi for shell metacharacters or unexpected content in the service parameter.
  • Alert on outbound connections or processes spawned by the router's web/cgi service that are not normal management traffic.
  • Monitor for router configuration changes, new admin accounts or DNS settings that were not made by administrators.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2018-6530 to the Known Exploited Vulnerabilities catalog on 8 September 2022 as "D-Link Multiple Routers OS Command Injection Vulnerability". CISA reports known use in ransomware campaigns. Required action: The vendor D-Link published an advisory stating the fix under CVE-2018-20114 properly patches KEV entry CVE-2018-6530. If the device is still supported, apply updates per vendor instructions. If the affected device has since entered its end-of-life, it should be disconnected if still in use. Federal deadline 29 September 2022.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-6530 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-17621D-Link DIR-859 UPnP gena.cgi unauthenticated command injectionThe UPnP endpoint /gena.cgi on D-Link DIR-859 firmware 1.05 and 1.06B01 Beta01 fails to sanitize input in an HTTP SUBSCRIBE request, allowing OS comm…KEVEPSS 90%analysed9.8CVE-2025-55583Dlink dir-868l firmware os command injection vulnerabilityD-Link DIR-868L B1 router firmware version FW2.05WWB02 contains an unauthenticated OS command injection vulnerability in the fileaccess.cgi component…EPSS 7.0%9.8CVE-2024-42812Dlink dir-860l firmware classic buffer overflow vulnerabilityIn D-Link DIR-860L v2.03, there is a buffer overflow vulnerability due to the lack of length verification for the SID field in gena.cgi. Attackers wh…EPSS 16%9.8CVE-2024-41611Dlink dir-860l firmware hard-coded credentials vulnerabilityIn D-Link DIR-860L REVA FIRMWARE PATCH 1.10..B04, the Telnet service contains hardcoded credentials, enabling attackers to log in remotely to the Tel…EPSS 0.78%9.8CVE-2023-39667Dlink dir-868l firmware classic buffer overflow vulnerabilityD-Link DIR-868L fw_revA_1-12_eu_multi_20170316 was discovered to contain a buffer overflow via the param_2 parameter in the FUN_0000acb4 function.EPSS 1.4%9.8CVE-2023-39668Dlink dir-868l firmware classic buffer overflow vulnerabilityD-Link DIR-868L fw_revA_1-12_eu_multi_20170316 was discovered to contain a buffer overflow via the param_2 parameter in the inet_ntoa() function.EPSS 1.4%9.8CVE-2023-39665Dlink dir-868l firmware classic buffer overflow vulnerabilityD-Link DIR-868L fw_revA_1-12_eu_multi_20170316 was discovered to contain a buffer overflow via the acStack_50 parameter.EPSS 1.4%9.8CVE-2023-29856Dlink dir-868l firmware classic buffer overflow vulnerabilityD-Link DIR-868L Hardware version A1, firmware version 1.12 is vulnerable to Buffer Overflow. The vulnerability is in scandir.sgi binary.EPSS 0.90%

Source: NIST National Vulnerability Database (record CVE-2018-6530), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.