CVE-2018-6530: D-Link Multiple Routers · Remote code execution
Exploitation: In the wild · CVSS 9.8 Critical · Unauthenticated · Published 2018-03-06
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.
Enclave's analysis
OS command injection in soap.cgi on several D-Link DIR routers. An unauthenticated attacker sends a crafted service parameter and runs commands on the device. CISA lists it as exploited, including by ransomware campaigns. Patch to the fixed firmware, noting D-Link tracks the fix under CVE-2018-20114. Unplug end-of-life units.
Fix
Upgrade D-Link DIR-860L firmware to 1.11B01; D-Link DIR-865L firmware to 1.10B01; D-Link DIR-868L firmware to 1.20B01. See the affected versions for other product fixes.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| D-Link DIR-860L firmware | up to and including 1.10b04 (hardware A1) | 1.11B01 |
| D-Link DIR-865L firmware | up to and including 1.08b01 (hardware A1) | 1.10B01 |
| D-Link DIR-868L firmware | up to and including 1.12b04 (hardware A1) | 1.20B01 |
| D-Link DIR-880L firmware | up to and including 1.08b04 (hardware A1) | 1.08B06 |