Vulnerabilities · 2018 · D-link
CVE-2018-19987
D-link Dir-818lw Firmware vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Dir-818lw Firmware, Dir-822 Firmware, Dir-860l Firmware, Dir-868l Firmware, Dir-880l Firmware, Dir-890l\/r Firmware. The exact versions are in the references.
What to do now
- Check your exposureFind out whether D-link Dir-818lw Firmware runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in D-link products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.