CVE-2018-19986
CVSS V2 High 10
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2018-19986
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2019-05-13T14:29:01
- Last Modified Date
- 2023-04-26T18:55:30
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:o:d-link:dir-818lw_firmware:2.05.b03:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:h:d-link:dir-818lw:-:*:*:*:*:*:*:* | 0 | OR | ||
AND | ||||
cpe:2.3:o:d-link:dir-822_firmware:202krb06:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:h:d-link:dir-822:-:*:*:*:*:*:*:* | 0 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:C/I:C/A:C
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 10
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 10
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990 | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-19986 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19986 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:34:31 | Added to TrackCVE | |||
2022-12-03 20:35:22 | 2019-05-13T14:29Z | 2019-05-13T14:29:01 | CVE Published Date | updated |
2022-12-03 20:35:22 | 2019-10-03T00:03:26 | CVE Modified Date | updated | |
2022-12-03 20:35:22 | Analyzed | Vulnerability Status | updated | |
2023-04-26 19:42:06 | 2023-04-26T18:55:30 | CVE Modified Date | updated |