draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2018-6530: D-Link Multiple Routers OS Command Injection Vulnerability

Exploited in attacksRansomware usePublic exploit code

Yes. CVE-2018-6530 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 8 September 2022. It is known to have been used in ransomware campaigns. Public exploit code is available: a Nuclei detection template. EPSS puts the chance of further exploitation attempts in the next 30 days at 96.7%.

Exploited in real attacks
Yes. On CISA's exploited list since 8 September 2022
Used in ransomware
Yes, known ransomware use
Public exploit code
A Nuclei detection template
Chance of exploitation (EPSS)
96.7% in the next 30 days, higher than 99.9% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
9.8 Critical (version 3.1)
Affects
D-Link Multiple Routers
Type of flaw
OS command injection (CWE-78)
Published
6 March 2018
US federal patch deadline
29 September 2022

What it is

Multiple D-Link routers contain an unspecified vulnerability that allows for execution of OS 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.

Description from the CVE record.

Is CVE-2018-6530 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2018-6530 on 8 September 2022. That was 4 years after the CVE was published, so attackers are still finding unpatched systems long after the fix. CISA also marks it as known to be used in ransomware campaigns.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

SourceEntryPublished
Nuclei templateD-Link - Unauthenticated Remote Code Execution

What to do

CISA's 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.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place D-Link Multiple Routers runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. Assume it has been scanned. A public Nuclei template exists for this flaw, so finding exposed systems across the internet is automated.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Multiple Routers. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in D-Link products

CVEWhat it affectsStatusEPSSPublished
CVE-2025-29635D-Link DIR-823XPublic exploit87.9%25 March 2025
CVE-2022-37055D-Link RoutersNo public exploit found57.4%28 August 2022
CVE-2020-25078D-Link DCS-2530L and DCS-2670L DevicesPublic exploit97.5%2 September 2020
CVE-2020-25079D-Link DCS-2530L and DCS-2670L DevicesNo public exploit found54.0%2 September 2020
CVE-2022-40799D-Link DNR-322LNo public exploit found33.7%29 November 2022
CVE-2024-0769D-Link DIR-859 RouterNo public exploit found82.7%21 January 2024

Sources

Machine-readable: /api/cve/CVE-2018-6530.json