CVEvulnerability
CVE-2018-19987
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2019-05-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-78
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.
Affected configurations
• d-link dir-818lw firmware 2.05.b03
• d-link dir-822 firmware 202krb06
• dlink dir-822 firmware 3.10b06
• d-link dir-860l firmware 2.03.b03
• d-link dir-868l firmware 2.05b02
• d-link dir-880l firmware 1.20b01 01 i3se
• d-link dir-890l\/r firmware 1.21b02
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990 Exploit, Third Party Advisory
- https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990 Exploit, Third Party Advisory