CVE-2018-19987: OS Command Injection

Published May 13, 2019
·
Updated

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.20B0101i3seBETA, and DIR-890L Rev.A 1.21B02BETA 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 Software

13 affected components
D-Link Dir-818lw Firmware=2.05.b03
Dlink Dir-818lw
D-Link Dir-822 Firmware=202krb06
Dlink Dir-822 Firmware=3.10b06
Dlink Dir-822
D-Link Dir-860l Firmware=2.03.b03
Dlink Dir-860l
D-Link Dir-868l Firmware=2.05b02
Dlink DIR-868L
D-Link Dir-880l Firmware=1.20b01_01_i3se-beta
Dlink Dir-880l
D-Link Dir-890l\/r Firmware=1.21b02-beta
Dlink Dir-890l\/r

Event History

May 13, 2019
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-19987?

CVE-2018-19987 is a vulnerability that affects D-Link DIR-822, DIR-860L, DIR-868L, DIR-880L, and DIR-890L devices.

2

How does CVE-2018-19987 affect D-Link DIR-822 Rev.B 202KRb06 firmware?

CVE-2018-19987 affects D-Link DIR-822 Rev.B 202KRb06 firmware by mishandling the IsAccessPoint parameter in /HNAP1/SetAccessPointMode.

3

What is the severity of CVE-2018-19987?

CVE-2018-19987 has a severity rating of 9.8 (Critical).

4

How can I fix CVE-2018-19987 on my D-Link DIR-822 Rev.C 3.10B06?

To fix CVE-2018-19987 on your D-Link DIR-822 Rev.C 3.10B06, you should update the firmware to the latest version provided by D-Link.

5

Where can I find more information about CVE-2018-19987?

You can find more information about CVE-2018-19987 at the following link: [GitHub - pr0v3rbs/CVE](https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203