Back to CVE catalog
CVE-2018-19987

Command injection in multiple D-Link devices

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.0

9.8Critical
Published:
Updated:
EPSS:
12.04%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:d-linkdir-818lw firmwareAffected versions:
2.05.b03Show full version range for dir-818lw firmware
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:d-linkdir-890l/r firmwareAffected versions:
1.21b02Show full version range for dir-890l/r firmware
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:d-linkdir-880l firmwareAffected versions:
1.20b01_01_i3seShow full version range for dir-880l firmware
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:d-linkdir-822 firmwareAffected versions:
202krb06Show full version range for dir-822 firmware
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:dlinkdir-822 firmwareAffected versions:
3.10b06Show full version range for dir-822 firmware
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:d-linkdir-860l firmwareAffected versions:
2.03.b03Show full version range for dir-860l firmware
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:d-linkdir-868l firmwareAffected versions:
2.05b02Show full version range for dir-868l firmware
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–7 of 7 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories4

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences