CVE-2025-45858
published 2025-05-13CVE-2025-45858: TOTOLINK A3002R v4.0.0-B20230531.1404 was discovered to contain a command injection vulnerability via the FUN_00459fdc function.
PriorityP271critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
9.32%
94.8th percentile
TOTOLINK A3002R v4.0.0-B20230531.1404 was discovered to contain a command injection vulnerability via the FUN_00459fdc function.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| totolink | a3002r_firmware | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/boafrm/formMapDel
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Totolink A3002R formMapDel devicemac1 Parameter Command Injection Attempt (CVE-2025-45858)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:18; content:"/boafrm/formMapDel"; fast_pattern; http.request_body; content:"deviceNum|3d|"; content:"enabled1|3d|"; content:"devicemac1|3d|"; pcre:"/^.*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24)|(?:\x26{2}|%26%26))+/R"; reference:cve,2025-45858; reference:url,github.com/Jiangxiazhe/IOT_hack/blob/main/TOTOLINK/A3002R/2/injection2.md; classtype:attempted-admin; sid:2062309; rev:1; metadata:affected_product TOTOLINK, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_05_13, cve CVE_2025_45858, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_05_13, 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 the TOTOLINK A3002R via HTTP POST to /boafrm/formMapDel; look for the 'devicemac1' parameter in the POST body containing shell metacharacters (;, newline, backtick, pipe, $, &&) indicative of command injection.
- →The vulnerable endpoint URI has a fixed length of 18 bytes (/boafrm/formMapDel); a URI length check (bsize:18) can be used to reduce false positives in detection rules.
- →The injection occurs inside the FUN_00459fdc function on TOTOLINK A3002R v4.0.0-B20230531.1404; traffic is plaintext HTTP (not TLS), making perimeter and internal network inspection viable. ↗
- →Reference PoC available at github.com/Jiangxiazhe/IOT_hack/blob/main/TOTOLINK/A3002R/2/injection2.md for further payload analysis.
- ·Affected firmware version is specifically v4.0.0-B20230531.1404; ensure version fingerprinting is in place before applying targeted detection to avoid false positives on other TOTOLINK models or firmware versions. ↗
- ·The Snort/Suricata rule (sid:2062309) is scoped to plaintext HTTP traffic only (tls_state plaintext); it will not fire if the management interface is accessed over HTTPS.
Stop checking back — get the weekly exploitation signal.
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.
Suricata
ET WEB_SPECIFIC_APPS Totolink A3002R formMapDel devicemac1 Parameter Command Injection Attempt (CVE-2025-45858)
suricata·2025-05-13·CVSS 9.8
CVE-2025-45858 [CRITICAL] ET WEB_SPECIFIC_APPS Totolink A3002R formMapDel devicemac1 Parameter Command Injection Attempt (CVE-2025-45858)
ET WEB_SPECIFIC_APPS Totolink A3002R formMapDel devicemac1 Parameter Command Injection Attempt (CVE-2025-45858)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Totolink A3002R formMapDel devicemac1 Parameter Command Injection Attempt (CVE-2025-45858)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:18; content:"/boafrm/formMapDel"; fast_pattern; http.request_body; content:"deviceNum|3d|"; content:"enabled1|3d|"; content:"devicemac1|3d|"; pcre:"/^.*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24)|(?:\x26{2}|%26%26))+/R"; reference:cve,2025-45858; reference:url,github.com/Jiangxiazhe/IOT_hack/blob/main/TOTOLINK/A3002R/2/injection2.md; classtype:attempted-admin; sid:2062309; rev:1; metadata:affected_product TOTOLINK,
No public exploits indexed.
No writeups or analysis indexed.
2025-05-13
Published