CVE-2018-19987: D-Link Dir-818lw Firmware
Critical severity, CVSS 9.8. EPSS: 12.9% chance of exploitation in the next 30 days.
D-Link DIR-822 Rev.B 202KRb06, DIR-822 Rev.C 3.10B06, DIR-860L Rev.B 2.03.B03, DIR-868L Rev.B 2.05B02, DIR-880L Rev.A 1.20B01_01_i3se_BETA, and DIR-890L Rev.A 1.21B02_BETA devices mishandle IsAccessPoint in /HNAP1/SetAccessPointMode. In the SetAccessPointMode.php source code, the IsAccessPoint parameter is saved in the ShellPath script file without any regex checking. After the script file is executed, the command injection occurs. A vulnerable /HNAP1/SetAccessPointMode XML message could have shell metacharacters in the IsAccessPoint element such as the `telnetd` string.
Affected products
- D-Link Dir-818lw Firmware: version 2.05.b03 only
- D-Link Dir-822 Firmware: version 202krb06 only
- D-Link Dir-860l Firmware: version 2.03.b03 only
- D-Link Dir-868l Firmware: version 2.05b02 only
- D-Link Dir-880l Firmware: version 1.20b01_01_i3se only
- D-Link Dir-890l/r Firmware: version 1.21b02 only
- D-Link Dir-822 Firmware: version 3.10b06 only
Published 2019-05-13. Last modified 2026-06-17.