VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2018-19986

⇱ NVD - CVE-2018-19986


  1. Vulnerabilities

CVE-2018-19986 Detail

Modified After Enrichment

This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.

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.


Metrics

 
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990 CVE, MITRE Exploit  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') πŸ‘ cwe source acceptance level
NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

7 change records found show changes

CVE Modified by MITRE 6/16/2026 9:50:14 PM

Action Type Old Value New Value
Added Affected
[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]


CVE Modified by CVE 11/20/2024 10:58:56 PM

Action Type Old Value New Value
Added Reference
https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990


CVE Modified by MITRE 5/14/2024 1:11:43 AM

Action Type Old Value New Value

CPE Deprecation Remap by NIST 4/26/2023 2:55:30 PM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:h:d-link:dir-818lw:-:*:*:*:*:*:*:*


OR
 *cpe:2.3:h:dlink:dir-818lw:-:*:*:*:*:*:*:*


CPE Deprecation Remap by NIST 4/26/2023 2:55:30 PM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:h:d-link:dir-822:-:*:*:*:*:*:*:*


OR
 *cpe:2.3:h:dlink:dir-822:-:*:*:*:*:*:*:*


CWE Remap by NIST 10/02/2019 8:03:26 PM

Action Type Old Value New Value
Changed CWE
CWE-77
CWE-77


CWE-78


Initial Analysis by NIST 5/15/2019 2:20:42 PM

Action Type Old Value New Value
Added CVSS V3
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Added CVSS V2
(AV:N/AC:L/Au:N/C:C/I:C/A:C)


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:-:*:*:*:*:*:*:*


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


Quick Info

CVE Dictionary Entry:
CVE-2018-19986
NVD Published Date:
05/13/2019
NVD Last Modified:
06/16/2026
Source:
MITRE