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

Exploited in the wild Critical 9.8 Published Updated

Remote attackers can execute arbitrary OS commands on D-Link routers via the service parameter in soap.cgi.

Exploited in the wild
Since 8 Sep 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-6530?

CVE-2018-6530 is a critical command injection vulnerability in n/a, published on 6 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2018-6530?

It affects 4 products.

Products include Dlink Dir-860l Firmware, Dlink Dir-865l Firmware, Dlink Dir-868l Firmware, Dlink Dir-880l Firmware.

How do I fix CVE-2018-6530?

No fix has been published for CVE-2018-6530 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 29 Sep 2022.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2018-6530 being exploited?

Yes. Attackers have exploited CVE-2018-6530 in the wild since at least 8 Sep 2022, including in ransomware campaigns.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-j95f-33m4-87jf.

Is CVE-2018-6530 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free