RCE in D-Link Dir-822 Firmware
CVE-2018-19990
In the /HNAP1/SetWiFiVerifyAlpha message, the WPSPIN parameter is vulnerable, and the vulnerability affects D-Link DIR-822 B1 202KRb06 devices. In the SetWiFiVerifyAlpha.php source code, the WPSPIN parameter is saved in the $rphyinf1."/media/wps/enrollee/pin" and $rphyinf2."/media/wps/enrollee/pin" and $rphyinf3."/media/wps/enrollee/pin" internal configuration memory without any regex checking. And in the do_wps function of the wps.php source code, the data in $rphyinf3."/media/wps/enrollee/pin" is used with the wpatalk command without any regex checking. A vulnerable /HNAP1/SetWiFiVerifyAlpha XML message could have shell metacharacters in the WPSPIN element such as the `telnetd` string.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.053 (92.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.053 · newest: 0.053 · change: 0.000
Affected products
- D-Link Dir-822 Firmware — versions 202krb06
- Dlink Dir-822
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986 - 19990 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-19990?
- CVE-2018-19990 is a critical-severity vulnerability in D-Link Dir-822 Firmware, classified under OS Command Injection. CVSS score: 9.8/10. Published 2019-05-13.
- How severe is CVE-2018-19990?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2018-19990 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.