CVE-2018-19989
In the /HNAP1/SetQoSSettings message, the uplink parameter is vulnerable, and the vulnerability affects D-Link DIR-822 Rev.B 202KRb06 and DIR-822 Rev.C 3.10B06 devices.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.54%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
In the /HNAP1/SetQoSSettings message, the uplink parameter is vulnerable, and the vulnerability affects D-Link DIR-822 Rev.B 202KRb06 and DIR-822 Rev.C 3.10B06 devices. In the SetQoSSettings.php source code, the uplink parameter is saved in the /bwc/entry:1/bandwidth and /bwc/entry:2/bandwidth internal configuration memory without any regex checking. And in the bwc_tc_spq_start, bwc_tc_wfq_start, and bwc_tc_adb_start functions of the bwcsvcs.php source code, the data in /bwc/entry:1/bandwidth and /bwc/entry:2/bandwidth is used with the tc command without any regex checking. A vulnerable /HNAP1/SetQoSSettings XML message could have shell metacharacters in the uplink element such as the `telnetd` string.
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 5.54% probability · 92th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- d-link/dir-822 firmware · dlink/dir-822 firmware
- Source
- cve@mitre.org
References
- https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990Exploit, Third Party Advisory
- https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.