CVE-2017-8411
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 POST parameters passed in this request (to test if email 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 library "libmailutils.so" is the one that has the vulnerable function "sub_1FC4" that receives the values sent by the POST request. If we open this binary in IDA-pro we will notice that this follows an ARM little endian format. The function sub_1FC4 in IDA pro is identified to be receiving the values sent in the POST request and the value set in POST parameter "receiver1" is extracted in function "sub_15AC" which is then passed to the vulnerable system API call. The vulnerable library function is accessed in "cgibox" binary at address 0x00023BCC which calls the "Send_mail" function in "libmailutils.so" binary as shown below which results in the vulnerable POST parameter being passed to the library which results in the command injection issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
D-Link DCS-1130 devices suffer from command injection via POST parameter 'receiver1' in email test function, allowing unauthenticated remote code execution.
Vulnerability
The D-Link DCS-1130 device includes a web interface that allows users to set an SMB folder for video recordings. The 'Test Email' functionality sends POST parameters to the device; the parameter 'receiver1' is passed to the system() API in the libmailutils.so library without sanitization, leading to command injection. Affected firmware versions are those included in the DCS-1130 devices as of the CVE publication date (2019). The vulnerable function sub_1FC4 in libmailutils.so is called from the cgibox binary at address 0x00023BCC [1][2].
Exploitation
An attacker can exploit this vulnerability by sending a crafted POST request with a malicious payload in the receiver1 parameter to the device's web interface. No authentication is required if the endpoint is exposed; the attacker only needs network access to the device. The payload is executed as a system command, allowing arbitrary command execution [1][2].
Impact
Successful exploitation results in arbitrary command execution with the privileges of the web server (likely root). This can lead to full compromise of the device, including unauthorized access to video feeds, modification of settings, and potential use as a pivot point in the network [1][2].
Mitigation
As of the publication date, no firmware patch has been released by D-Link to address this vulnerability. Users should isolate affected devices from untrusted networks and disable remote access if possible. The vulnerability is listed in some security advisories but no official fix has been confirmed [1][2].
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
3- packetstormsecurity.com/files/153226/Dlink-DCS-1130-Command-Injection-CSRF-Stack-Overflow.htmlmitrex_refsource_MISC
- 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.