Buffer overflow in Dlink Dcs-1100
CVE-2017-8412
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.057 (92.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 92.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.057 · newest: 0.057 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- seclists.org/bugtraq/2019/Jun/8 (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/153226/Dlink-DCS-1130-Command-Injection-CSRF-Stac… (VDB Entry, Third Party Advisory)
- github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Dlink_DCS_1130_security.p… (Third Party Advisory, Not Applicable)
Frequently asked questions
- What is CVE-2017-8412?
- CVE-2017-8412 is a high-severity vulnerability in Dlink Dcs-1100, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 8.8/10. Published 2019-07-02.
- How severe is CVE-2017-8412?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2017-8412 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.