CVE-2017-8408
Description
An issue was discovered on D-Link DCS-1130 devices. The device provides a user with the capability of setting a SMB folder for the video clippings recorded by the device. It seems that the GET parameters passed in this request (to test if SMB credentials and hostname sent to the device work properly) result in being passed as commands to a "system" API in the function and thus result in command injection on the device. If the firmware version is dissected using binwalk tool, we obtain a cramfs-root archive which contains the filesystem set up on the device that contains all the binaries. The binary "cgibox" is the one that has the vulnerable function "sub_7EAFC" that receives the values sent by the GET request. If we open this binary in IDA-pro we will notice that this follows a ARM little endian format. The function sub_7EAFC in IDA pro is identified to be receiving the values sent in the GET request and the value set in GET parameter "user" is extracted in function sub_7E49C which is then passed to the vulnerable system API call.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Command injection vulnerability in D-Link DCS-1130 allows remote attackers to execute arbitrary commands via the SMB folder test functionality.
Vulnerability
The vulnerability resides in the cgibox binary of D-Link DCS-1130 devices. The function sub_7EAFC processes GET parameters from a request that tests SMB credentials and hostname for video clipping storage. The user parameter is extracted by sub_7E49C and passed directly to a system() API call, resulting in command injection. All firmware versions of the DCS-1130 are affected [1].
Exploitation
An attacker with network access to the device can send a crafted GET request to the vulnerable endpoint. The request must include the user parameter containing shell metacharacters or commands. No authentication is required for this SMB test functionality. The injected commands are executed with the privileges of the cgibox process [1].
Impact
Successful exploitation allows arbitrary command execution on the device. An attacker can gain full control over the D-Link DCS-1130, including reading sensitive data, modifying configuration, or using the device as a pivot point in the network. The compromise is at the system level [1].
Mitigation
As of the publication date, no official firmware patch has been released by D-Link. The device may be end-of-life. Users should isolate the device on a separate network segment or disable remote access. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog [1].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- D-Link/DCS-1130description
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- github.com/ethanhunnt/IoT_vulnerabilities/blob/master/Dlink_DCS_1130_security.pdfmitrex_refsource_MISC
- seclists.org/bugtraq/2019/Jun/8mitremailing-listx_refsource_BUGTRAQ
News mentions
0No linked articles in our index yet.