10

CVE-2018-19986: d-link dir-818l\(w\)_firmware OS Command Injection

CVSS: 10.0v2.0HighModified
Published 13-05-2019Last modified 05-08-2024

Vulnerability summary

CVE-2018-19986 is a high (CVSS 10.0) OS Command Injection vulnerability in d-link dir-818l\(w\)_firmware. EPSS estimates a 41.61% chance of exploitation in the next 30 days, higher than 98.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
10.0/10
010
High · v2.0 (NVD)
EPSS score
41.61%
0%100%
High · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 13-05-2019
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

In the /HNAP1/SetRouterSettings message, the RemotePort parameter is vulnerable, and the vulnerability affects D-Link DIR-818LW Rev.A 2.05.B03 and DIR-822 B1 202KRb06 devices. In the SetRouterSettings.php source code, the RemotePort parameter is saved in the $path_inf_wan1."/web" internal configuration memory without any regex checking. And in the IPTWAN_build_command function of the iptwan.php source code, the data in $path_inf_wan1."/web" is used with the iptables command without any regex checking. A vulnerable /HNAP1/SetRouterSettings XML message could have shell metacharacters in the RemotePort element such as the `telnetd` string.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

41.61%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

0.00 pp

From 41.61% on 19-09-2026

19-09-202619-10-2026
EPSS score
41.61%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Cve

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

D-link2 products

1 vendor · 2 products

References

1 links