CVE-2018-19986
D-Link DIR-818LW DIR-822 arbitrary command injection via HNAP1 SetRouterSettings RemotePort
Description
In the /HNAP1/SetRouterSettings message, the RemotePort parameter is vulnerable, and the vulnerability affects D-Link DIR-818LW Rev.A 2.05.B03 and DIR-822 B1 202KRb06 devices. In the SetRouterSettings.php source code, the RemotePort parameter is saved in the $path_inf_wan1."/web" internal configuration memory without any regex checking. And in the IPTWAN_build_command function of the iptwan.php source code, the data in $path_inf_wan1."/web" is used with the iptables command without any regex checking. A vulnerable /HNAP1/SetRouterSettings XML message could have shell metacharacters in the RemotePort 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.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2018-19986 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2018-19986
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.
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-19986
.
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 |
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).
None
HTML Shell Python Dockerfile Makefile C
安全类各家文库大乱斗
HTML CSS JavaScript Go Python Shell C
Towards Large-Scale Emulation of IoT Firmware for Dynamic Analysis
emulation firmware arbitration analysis fuzzing
Shell Python Dockerfile Makefile C
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-19986
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-19986
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:202krb06:*:*:*:*:*:*:* OR cpe:2.3:h:d-link:dir-822:-:*:*:*:*:*:*:*
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-19986
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-19986
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
9.49 }} 8.09%
score
0.94741
percentile