CVE-2017-8412
CVSS V2 Medium 5.8
CVSS V3 High 8.8
Description
An issue was discovered on D-Link DCS-1100 and DCS-1130 devices. The device has a custom binary called mp4ts under the /var/www/video folder. It seems that this binary dumps the HTTP VERB in the system logs. As a part of doing that it retrieves the HTTP VERB sent by the user and uses a vulnerable sprintf function at address 0x0000C3D4 in the function sub_C210 to copy the value into a string and then into a log file. Since there is no bounds check being performed on the environment variable at address 0x0000C360 this results in a stack overflow and overwrites the PC register allowing an attacker to execute buffer overflow or even a command injection attack.
Overview
- CVE ID
- CVE-2017-8412
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2019-07-02T21:15:10
- Last Modified Date
- 2021-04-26T17:00:57
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:o:dlink:dcs-1130_firmware:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:h:dlink:dcs-1130:-:*:*:*:*:*:*:* | 0 | OR | ||
AND | ||||
cpe:2.3:o:dlink:dcs-1100_firmware:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:h:dlink:dcs-1100:-:*:*:*:*:*:*:* | 0 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:A/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- ADJACENT_NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 5.8
- Severity
- MEDIUM
- Exploitability Score
- 6.5
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- ADJACENT_NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
http://packetstormsecurity.com/files/153226/Dlink-DCS-1130-Command-Injection-CSRF-Stack-Overflow.html | Third Party Advisory VDB Entry |
https://github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Dlink_DCS_1130_security.pdf | Not Applicable Third Party Advisory |
https://seclists.org/bugtraq/2019/Jun/8 | Mailing List Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-8412 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8412 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:14:09 | Added to TrackCVE | |||
2022-12-03 22:46:20 | 2019-07-02T21:15Z | 2019-07-02T21:15:10 | CVE Published Date | updated |
2022-12-03 22:46:20 | 2021-04-26T17:00:57 | CVE Modified Date | updated | |
2022-12-03 22:46:20 | Analyzed | Vulnerability Status | updated |