CVE-2018-19987

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductD-link Dir-822 Firmware
PublishedMay 13, 2019
First seenMay 13, 2019

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
d-link dir-822_firmware202krb06—
d-link dir-818lw_firmware2.05.b03—
dlink dir-822_firmware3.10b06—
d-link dir-860l_firmware2.03.b03—
d-link dir-868l_firmware2.05b02—
d-link dir-880l_firmware1.20b01_01_i3se—
d-link dir-890l\/r_firmware1.21b02—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.