{"id":"CVE-2017-8412","aliases":["EUVD-2017-17364","GHSA-c5p6-2wgp-hcc2"],"status":"published","title":"An issue was discovered on D-Link DCS-1100 and DCS-1130 devices. The device has a custom binary...","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.05732,"percentile":0.93102,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2019-07-02T20:08:17Z","modified":"2026-06-17T01:26:20Z","products":[{"vendor":"dlink","product":"dcs-1100_firmware"},{"vendor":"dlink","product":"dcs-1130_firmware"}],"references":[{"url":"https://seclists.org/bugtraq/2019/Jun/8","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Mailing List","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/153226/Dlink-DCS-1130-Command-Injection-CSRF-Stack-Overflow.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Dlink_DCS_1130_security.pdf","tags":["x_refsource_MISC","x_transferred","Not Applicable","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8412"},{"url":"https://github.com/advisories/GHSA-c5p6-2wgp-hcc2"}],"sources":{"cve":[{"id":"CVE-2017-8412","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.","status":"published","published":"2019-07-02T20:08:17Z","modified":"2024-08-05T16:34:23.191Z","updated_at":"2026-11-02T14:33:14.556599Z"}],"euvd":[{"id":"EUVD-2017-17364","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.","status":"published","published":"2019-07-02T20:08:17Z","modified":"2024-08-05T16:34:23Z","updated_at":"2026-11-03T02:39:05.365606Z"}],"ghsa":[{"id":"GHSA-c5p6-2wgp-hcc2","title":"An issue was discovered on D-Link DCS-1100 and DCS-1130 devices. The device has a custom binary...","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.","status":"published","published":"2022-05-24T16:49:13Z","modified":"2023-01-28T05:06:17Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:44:25.398405Z"}],"nvd":[{"id":"CVE-2017-8412","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.","status":"published","published":"2019-07-02T21:15:10.103Z","modified":"2026-06-17T01:26:20.76Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:A/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:20.074898Z"}]}}
