Security Advisory

CVE-2018-20114: D-Link DIR-818LW/DIR-860L soap.cgi Injection

Last updated:
  • CVE-2018-20114

CVE-2018-20114 is an OS command injection in the soap.cgi service of D-Link DIR-818LW and DIR-860L Rev. B routers: an unauthenticated attacker can run commands on the router because the earlier fix for the KEV-listed CVE-2018-6530 was incomplete. NVD scores it 9.8. D-Link published fixed firmware in January 2019, but both models are now on its unsupported legacy list.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

6.7%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2018-20114 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
D-Link DIR-818LW (all B hardware revisions, white, black, red and teal variants)cpe:2.3:o:dlink:dir-818lw_firmware:2.05.b03:*:*:*:*:*:*:*v2.05.B03 and older; fixed firmware v2.06B01Beta (D-Link SAP10105, 2019-01-04); last day of support 2017-05-01
D-Link DIR-860L (all B hardware revisions)cpe:2.3:o:dlink:dir-860l_firmware:2.03.b03:*:*:*:*:*:*:*v2.03.B03 and older; fixed firmware v2.04B04Beta01 (D-Link SAP10105, 2019-01-04); last day of support 2018-05-01

What does this mean for affected devices?

CVE-2018-20114 is an OS command injection (CWE-78) in D-Link's DIR-818LW and DIR-860L wireless routers. The CVE record describes unauthenticated remote OS command execution in the soap.cgi service of the cgibin binary through an && substring in the service parameter on DIR-818LW 2.05.B03 and DIR-860L Rev. B 2.03.B03, and notes that "this issue exists because of an incomplete fix for CVE-2018-6530" (CVE record). D-Link's notice credits researcher MinGeun Kim with the report. Our D-Link router and NAS guide explains how this CVE and CVE-2018-6530 fit with D-Link's end-of-life policy.

How severe is CVE-2018-20114?

NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and CVSS v2 10.0, with CWE-78 (NVD). MITRE assigned the CVE and its record carries no CNA score. D-Link's notice SAP10105 disputes the network reach: after investigating, it says the flaw can be reached only from the local network (LAN side) and not directly from the internet (WAN side), because it requires access to the router's web configuration. A router whose web configuration is exposed to the WAN, or a compromised device on the LAN, still puts it in reach. NVD's description says DIR-818LW Rev. A, while D-Link's table lists all B revisions of the DIR-818LW; NVD's CPEs name only the exact firmware 2.05.B03 and 2.03.B03.

CVE-2018-20114 itself is not in the CISA KEV catalog as of 2026-11-30 (catalog version 2026.11.27). Its predecessor CVE-2018-6530 is: CISA's KEV entry says D-Link "published an advisory stating the fix under CVE-2018-20114 properly patches KEV entry CVE-2018-6530", points to SAP10105, and marks known ransomware campaign use as Known. FIRST EPSS gives CVE-2018-20114 0.06725, the 94.72nd percentile, in the 2026-11-29 dataset (FIRST EPSS).

Which firmware fixes CVE-2018-20114?

D-Link's SAP10105, last updated 2019-01-04, lists:

  • DIR-818LW, white, black (/D), red (/R) and teal (/T), all B revisions: affected v2.05.B03 and older, fixed in v2.06B01Beta
  • DIR-860L, all B revisions: affected v2.03.B03 and older, fixed in v2.04B04Beta01

D-Link asks owners to check the hardware revision on the label under the router, or in its web configuration, before downloading.

Are the DIR-818LW and DIR-860L still supported?

No. D-Link's legacy products list says these products "have ceased their development and are no longer supported" and gives last days of support of 5/1/2017 for the DIR-818LW and 5/1/2018 for the DIR-860L; D-Link recommends retiring them. CISA's required action for CVE-2018-6530 matches: apply updates if the device is still supported, otherwise disconnect it. If you still run one, install the SAP10105 firmware, make sure remote web management is off, and plan a replacement; our guide to KEV and EPSS prioritization explains why a 94th-percentile EPSS score on an unsupported router should move it up the list. How vendors close injection flaws like this one is in how to fix command injection in embedded firmware.

Other D-Link router injection flaws on this site include CVE-2019-17621 on the DIR-859 and CVE-2015-2051 on the DIR-645.

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueThis advisory's weakness class is Command injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix command injection in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD: status Modified; Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; Primary CVSS v2 10.0; CWE-78; CPEs dir-818lw_firmware 2.05.b03 and dir-860l_firmware 2.03.b03; description names DIR-818LW Rev.A 2.05.B03 and DIR-860L Rev.B 2.03.B03; published 2019-01-02. — NVD
  • CVE record: PUBLISHED, CNA MITRE, no CNA score; soap.cgi of cgibin, && substring in service parameter, incomplete fix for CVE-2018-6530. — CVE.org
  • D-Link SAP10105: DIR-860L Rev. Bx and DIR-818LW Rev. Bx, CVE-2018-20114, LAN-side unauthenticated command execution; only accessible via LAN side, requires access to the web configuration; reported by MinGeun Kim (KAIST); DIR-818LW white/D/R/T all B revisions v2.05.B03 and lower, fixed v.2.06B01Beta; DIR-860L all B revisions v2.03.B03 and lower, fixed v.2.04B04Beta01; last updated 01/04/2019; check hardware revision on label. — D-Link SAP10105
  • D-Link legacy products: products have ceased development and are no longer supported; D-Link recommends retiring them; last day of support DIR-818LW 5/1/2017, DIR-860L 5/1/2018. — D-Link legacy products
  • KEV catalog version 2026.11.27, checked 2026-11-30: CVE-2018-20114 not listed; CVE-2018-6530 listed (added 2022-09-08, ransomware use Known), required action says the fix under CVE-2018-20114 properly patches it, notes cite SAP10105. — CISA KEV
  • EPSS 0.06725, percentile 0.94721, dataset 2026-11-29, read 2026-11-30. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. D-Link SAP10105: DIR-860L Rev. Bx and DIR-818LW Rev. Bx, CVE-2018-20114, LAN-side Unauthenticated Command Execution
  3. D-Link legacy products (last day of support)
  4. CVE.org record CVE-2018-20114 (CNA: MITRE)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

How is CVE-2018-20114 related to CVE-2018-6530?

The CVE record says CVE-2018-20114 exists because of an incomplete fix for CVE-2018-6530, an injection in the same soap.cgi service parameter. CISA lists CVE-2018-6530 in KEV and states that D-Link's fix under CVE-2018-20114 (SAP10105) properly patches it (per the CVE record and CISA KEV).

Can CVE-2018-20114 be exploited from the internet?

NVD scores it with a network vector (9.8). D-Link's SAP10105 says that after investigation the flaw is reachable only from the LAN side, because it needs access to the router's web configuration. A router with remote web management turned on, or a hostile device on the LAN, can still reach it (per NVD and D-Link SAP10105).

Which firmware fixes CVE-2018-20114?

D-Link's SAP10105 lists v2.06B01Beta for all B revisions of the DIR-818LW (white, black, red and teal) and v2.04B04Beta01 for all B revisions of the DIR-860L, posted 2019-01-04. Both models are on D-Link's legacy list, with last days of support of 5/1/2017 and 5/1/2018 (per D-Link).

Is CVE-2018-20114 exploited in the wild?

CVE-2018-20114 itself is not in CISA's KEV catalog as of 2026-11-30 (version 2026.11.27), but its predecessor CVE-2018-6530 is, with known ransomware campaign use. FIRST EPSS gives CVE-2018-20114 0.06725, the 94.72nd percentile, in the 2026-11-29 dataset (per CISA KEV and FIRST EPSS).