10.0
HIGH CVSS 2.0
CVE-2018-19987
D-Link DIR-800 Series Command Injection Vulnerability
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.

INFO

Published Date :

May 13, 2019, 2:29 p.m.

Last Modified :

Nov. 21, 2024, 3:58 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2018-19987 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Dlink dir-822_firmware
2 Dlink dir-860l
3 Dlink dir-868l
4 Dlink dir-822
5 Dlink dir-880l
6 Dlink dir-818lw
7 Dlink dir-890l\/r
1 D-link dir-880l_firmware
2 D-link dir-822_firmware
3 D-link dir-818lw_firmware
4 D-link dir-860l_firmware
5 D-link dir-868l_firmware
6 D-link dir-890l\/r_firmware
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 CRITICAL [email protected]
Public PoC/Exploit Available at Github

CVE-2018-19987 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-19987.

URL Resource
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
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-19987 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Towards Large-Scale Emulation of IoT Firmware for Dynamic Analysis

Shell Python Dockerfile Makefile C

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : April 7, 2025, 5:29 p.m. This repo has been linked 10 different CVEs too.

None

HTML Shell Python Dockerfile Makefile C

Updated: 2 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 17, 2022, 7:04 p.m. This repo has been linked 10 different CVEs too.

None

Updated: 4 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 6, 2021, 3:39 a.m. This repo has been linked 1 different CVEs too.

This repo has a blog post about my analysis for CVE-2018-19987 an authenticated OS command injection affecting multiple D-Link routers

Updated: 4 years, 3 months ago
2 stars 1 fork 1 watcher
Born at : Nov. 19, 2020, 11:01 p.m. This repo has been linked 1 different CVEs too.

Towards Large-Scale Emulation of IoT Firmware for Dynamic Analysis

emulation firmware arbitration analysis fuzzing

Shell Python Dockerfile Makefile C

Updated: 1 month, 1 week ago
749 stars 130 fork 130 watcher
Born at : Sept. 22, 2020, 6:20 a.m. This repo has been linked 10 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-19987 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-19987 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-77 CWE-77 CWE-78
  • Initial Analysis by [email protected]

    May. 15, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990 No Types Assigned https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990 Exploit, Third Party Advisory
    Added CWE CWE-77
    Added CPE Configuration AND OR *cpe:2.3:o:d-link:dir-818lw_firmware:2.05.b03:*:*:*:*:*:*:* OR cpe:2.3:h:d-link:dir-818lw:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:d-link:dir-822_firmware:3.10b06:*:*:*:*:*:*:* *cpe:2.3:o:d-link:dir-822_firmware:202krb06:*:*:*:*:*:*:* OR cpe:2.3:h:d-link:dir-822:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:d-link:dir-860l_firmware:2.03.b03:*:*:*:*:*:*:* OR cpe:2.3:h:d-link:dir-860l:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:d-link:dir-868l_firmware:2.05b02:*:*:*:*:*:*:* OR cpe:2.3:h:d-link:dir-868l:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:d-link:dir-880l_firmware:1.20b01_01_i3se:beta:*:*:*:*:*:* OR cpe:2.3:h:d-link:dir-880l:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:d-link:dir-890l\/r_firmware:1.21b02:beta:*:*:*:*:*:* OR cpe:2.3:h:d-link:dir-890l\/r:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 10
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

81.83 }} -1.69%

score

0.99149

percentile