cbcvebase.
CVE-2013-7471
published 2019-06-11

CVE-2013-7471: An issue was discovered in soap.cgi?service=WANIPConn1 on D-Link DIR-845 before v1.02b03, DIR-600 before v2.17b01, DIR-645 before v1.04b11, DIR-300 rev. B, and…

PriorityP182critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWVulnCheck KEV
Exploited in the wild
EPSS
24.04%
97.6th percentile
An issue was discovered in soap.cgi?service=WANIPConn1 on D-Link DIR-845 before v1.02b03, DIR-600 before v2.17b01, DIR-645 before v1.04b11, DIR-300 rev. B, and DIR-865 devices. There is Command Injection via shell metacharacters in the NewInternalClient, NewExternalPort, or NewInternalPort element of a SOAP POST request.

Affected

5 ranges
VendorProductVersion rangeFixed in
dlinkdir-300_firmware
dlinkdir-600_firmware< 2.17b012.17b01
dlinkdir-645_firmware< 1.04b111.04b11
dlinkdir-845_firmware< 1.02b031.02b03
dlinkdir-865_firmware

Detection & IOCsextracted from sources · hover to see the quote

url/soap.cgi?service=WANIPConn1
bytes
|60|
snort
alert http any any -> $HOME_NET any (msg:"ET EXPLOIT D-Link Related Command Injection Attempt Inbound (CVE-2013-7471)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:28; content:"/soap.cgi?service=WANIPConn1"; fast_pattern; http.request_body; content:"|60|"; content:"|60|"; distance:0; reference:cve,2013-7471; reference:url,nvd.nist.gov/vuln/detail/cve-2013-7471; classtype:attempted-admin; sid:2039833; rev:4; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2022_11_23, cve CVE_2013_7471, deployment Perimeter, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_27, reviewed_at 2024_10_15, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1210, mitre_technique_name Exploitation_Of_Remote_Services;)
  • Exploit arrives as an HTTP POST request to the exact URI path /soap.cgi?service=WANIPConn1 (URI length is exactly 28 bytes).
  • Command injection payload is delivered in the SOAP POST body via the NewInternalClient, NewExternalPort, or NewInternalPort XML elements using shell metacharacters (backtick, 0x60).
  • Detect two occurrences of the backtick byte (0x60) in the HTTP request body; the second must appear at distance:0 from the first, indicating a backtick-wrapped shell command.
  • Traffic direction is inbound to the home/internal network on any port over an established HTTP session to the server.
  • ·The Snort/Suricata rule (sid:2039833) uses a fixed URI bsize of 28, matching only the exact string /soap.cgi?service=WANIPConn1. Variants with additional query parameters or URL encoding would evade this rule.
  • ·Affected device models span multiple firmware branches; version checks must be per-model (DIR-845 <v1.02b03, DIR-600 <v2.17b01, DIR-645 <v1.04b11, DIR-300 rev. B, DIR-865).

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
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.