cbcvebase.
CVE-2023-25280
published 2023-03-16

CVE-2023-25280: OS Command injection vulnerability in D-Link DIR820LA1_FW105B03 allows attackers to escalate privileges to root via a crafted payload with the ping_addr…

PriorityP196critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
KEVITWEXPLOIT
CISA Known Exploited Vulnerabilitydue 2024-10-21
Exploited in the wild
EPSS
98.05%
99.9th percentile
OS Command injection vulnerability in D-Link DIR820LA1_FW105B03 allows attackers to escalate privileges to root via a crafted payload with the ping_addr parameter to ping.ccp.

Affected

1 ranges
VendorProductVersion rangeFixed in
dlinkdir-820l_firmware

Detection & IOCsextracted from sources · hover to see the quote

url/ping.ccp
commandccp_act=pingV4Msg&ping_addr=%0a{{payload}}%0a
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link DIR820 ping.ccp Command Injection Attempt (CVE-2023-25280)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:9; content:"/ping.ccp"; fast_pattern; http.request_body; content:"ccp_act|3d|"; content:"ping_addr|3d|"; pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R"; reference:url,unit42.paloaltonetworks.com/mirai-variant-targets-iot-exploits/; reference:cve,2023-25280; classtype:attempted-admin; sid:2057248; rev:1; metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2024_11_05, cve CVE_2023_25280, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2024_11_05, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
  • Exploit targets HTTP POST to /ping.ccp with body parameters ccp_act=pingV4Msg and ping_addr containing OS command injection characters (newline %0a, semicolon %3b, backtick %60, pipe %7c, dollar %24). Monitor for these patterns in HTTP request bodies.
  • The exploit URI is exactly 9 bytes: /ping.ccp. Use a URI length check (bsize:9) combined with POST method to narrow detection scope.
  • Attacker-controlled HTTP header X-Requested-With: XMLHttpRequest is present in exploit requests, indicating the injection is delivered as an AJAX-style POST.
  • The Referer header in exploit requests points to /lan.asp on the target device. This can be used as an additional filter in HTTP-layer detection rules.
  • Exploitation is unauthenticated (no valid session required). The cookie hasLogin=1 is attacker-supplied and not a legitimate session token — its presence alone does not indicate authentication.
  • This vulnerability is actively exploited by Mirai botnet variants. Correlate detections with known Mirai C2 infrastructure and watch for outbound wget/curl callbacks following exploitation.
  • Initial detection step: confirm target is a D-Link device by checking HTTP response body for the string 'D-LINK' before alerting on the injection attempt.
  • ·The affected firmware is end-of-life (EoL) and end-of-service (EoS); D-Link will not release a patch. Detection rules should remain permanently active for any DIR-820 devices still present in the environment.
  • ·The Snort/Suricata rule (sid:2057248) is scoped to plaintext HTTP traffic only (tls_state plaintext). It will not fire on TLS-wrapped traffic; ensure your sensor has visibility into unencrypted HTTP on the network perimeter and internally.
  • ·The Nuclei template uses an out-of-band (interactsh) callback to confirm exploitation. In air-gapped or egress-filtered environments, the OOB callback will not fire even if the device is vulnerable; supplement with in-band response checks.

CVSS provenance

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