CVE-2018-19987

  • Severity 9.8 CRITICAL
  • Published
  • Updated
  • Status Modified
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.
OS Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.0
EPSS Score
Percentile: 96.25%
Affected Products (NVD)
VendorProductVersion
d-linkdir-818lw_firmware
2.05.b03
dlinkdir-822_firmware
3.10b06
d-linkdir-860l_firmware
2.03.b03
d-linkdir-868l_firmware
2.05b02
d-linkdir-880l_firmware
1.20b01_01_i3se
d-linkdir-890l/r_firmware
1.21b02
𝑥
= Vulnerable software versions