cbcvebase.
CVE-2013-1599
published 2020-01-28

CVE-2013-1599: A Command Injection vulnerability exists in the /var/www/cgi-bin/rtpd.cgi script in D-Link IP Cameras DCS-3411/3430 firmware 1.02, DCS-5605/5635 1.01…

PriorityP188critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
40.35%
98.5th percentile
A Command Injection vulnerability exists in the /var/www/cgi-bin/rtpd.cgi script in D-Link IP Cameras DCS-3411/3430 firmware 1.02, DCS-5605/5635 1.01, DCS-1100L/1130L 1.04, DCS-1100/1130 1.03, DCS-1100/1130 1.04_US, DCS-2102/2121 1.05_RU, DCS-3410 1.02, DCS-5230 1.02, DCS-5230L 1.02, DCS-6410 1.00, DCS-7410 1.00, DCS-7510 1.00, and WCS-1100 1.02, which could let a remote malicious user execute arbitrary commands through the camera’s web interface.

Affected

19 ranges
VendorProductVersion rangeFixed in
dlinkdcs-1100_firmware
dlinkdcs-1100_firmware
dlinkdcs-1100l_firmware
dlinkdcs-1130_firmware
dlinkdcs-1130_firmware
dlinkdcs-1130l_firmware
dlinkdcs-2102_firmware
dlinkdcs-2121_firmware
dlinkdcs-3410_firmware
dlinkdcs-3411_firmware
dlinkdcs-3430_firmware
dlinkdcs-5230_firmware
dlinkdcs-5230l_firmware
dlinkdcs-5605_firmware
dlinkdcs-5635_firmware
dlinkdcs-6410_firmware
dlinkdcs-7410_firmware
dlinkdcs-7510_firmware
dlinkwcs-1100_firmware

Detection & IOCsextracted from sources · hover to see the quote

path/var/www/cgi-bin/rtpd.cgi
urlhttp://192.168.1.100/cgi-bin/rtpd.cgi?uname&-a;cat&/etc/passwd
path/cgi-bin/rtpd.cgi
commanduname&-a;cat&/etc/passwd
snort
alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET EXPLOIT D-Link IP Camera Vulnerable HTTP Request (CVE-2013-1599)"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cgi-bin/rtpd.cgi?"; fast_pattern; reference:url,www.coresecurity.com/advisories/d-link-ip-cameras-multiple-vulnerabilities; classtype:attempted-admin; sid:2019801; rev:4; metadata:created_at 2014_11_25, cve CVE_2013_1599, signature_severity Major, updated_at 2020_09_28;)
  • The vulnerable script uses 'eval' on user-supplied QUERY_STRING after replacing '&' with spaces via sed, enabling command injection without spaces by using '&' as a delimiter between command arguments.
  • Exploit payloads will appear in the URI as GET requests to /cgi-bin/rtpd.cgi? with shell metacharacters (semicolons, ampersands) substituting for spaces — monitor HTTP GET requests to this endpoint for such patterns.
  • No authentication is required to reach the vulnerable endpoint; any unauthenticated GET to /cgi-bin/rtpd.cgi? should be treated as suspicious on D-Link IP camera devices.
  • The injection bypasses the space-check by encoding spaces as '&' characters in the query string; detection should look for shell commands with '&' separating arguments (e.g., 'cmd&arg') in the query string of requests to rtpd.cgi.
  • ·The Snort/Suricata rule (ET sid:2019801) triggers on any GET to /cgi-bin/rtpd.cgi? regardless of payload content; tune to reduce false positives if legitimate camera management traffic uses this endpoint.
  • ·The advisory notes 'Other SKUs are probably affected too, but they were not checked' — the confirmed affected firmware versions listed are not exhaustive.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
vulncheck9.8CRITICAL
vendor_redhat7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.