Actively exploited vulnerability

D-Link Multiple Routers: code execution flaw under attack

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

Home network device9.8 criticalUsed in ransomware attacks

What is affected

D-Link Multiple Routers are the kind of equipment many homes and small offices run for years without touching: a router, camera or storage box. Attackers scan the internet for exposed units, and a hijacked one can spy on traffic or be enrolled in a botnet without any visible sign.

Multiple D-Link routers contain an unspecified vulnerability that allows for execution of OS commands.

CISA's description

What an attacker can do

This is a code execution flaw. It lets an attacker run their own commands or programs on the affected system. In practice that usually means taking it over: installing malware, stealing data or using it to reach other devices on the same network.

How it is reached
Over the internet or network
Access the attacker needs
No account needed
Does the victim have to do something?
No, works without the victim doing anything

CISA records this vulnerability as known to be used in ransomware campaigns: attackers use it to get in, then encrypt files and demand payment.

What to do

  1. Check whether you own this device: look at the label on your router, camera or NAS, or open its admin page and note the model and firmware version.
  2. Install the latest firmware from the manufacturer's support page or the device's own update menu.
  3. If the manufacturer no longer releases updates for the model, replace it. An end-of-life device with an exploited flaw cannot be made safe.
  4. Turn off remote administration from the internet unless you truly need it, and change the default admin password.

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.

Action required by CISA for US federal agencies

Vendor advisories and fixes

How urgent is it

CISA added this vulnerability to its Known Exploited Vulnerabilities catalogue on September 8, 2022, which means there is reliable evidence of attacks in the wild. US federal agencies must fix it by September 29, 2022, a deadline that has already passed. That deadline does not bind anyone else, but it shows how seriously the agency rates it.

The EPSS model estimates a 97% probability that this flaw will be exploited somewhere in the next 30 days. That is higher than 99.9% of all scored vulnerabilities.

Its CVSS severity score is 9.8 out of 10 (critical), as recorded in the US National Vulnerability Database.

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

NIST National Vulnerability Database
5,442 members already hereReading, writing, commenting and voting. 0 verified · 167 joined this year