CVE-2025-61045
published 2025-10-01CVE-2025-61045: TOTOLINK X18 V9.1.0cu.2053_B20230309 was discovered to contain a command injection vulnerability via the mac parameter in the setEasyMeshAgentCfg function.
PriorityP268critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.54%
72.1th percentile
TOTOLINK X18 V9.1.0cu.2053_B20230309 was discovered to contain a command injection vulnerability via the mac parameter in the setEasyMeshAgentCfg function.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| totolink | x18_firmware | — | — |
Detection & IOCsextracted from sources · hover to see the quote
path/cgi-bin/cstecgi.cgi
urlhttps://github.com/ilovekeer/IOT/blob/main/TOTOLINK/X18/setEasyMeshAgentCfg/1.md
urlhttps://github.com/ilovekeer/IOT/blob/main/TOTOLINK/X18/setEasyMeshAgentCfg/2.md
urlhttps://github.com/PaloAltoNetworks/u42-vulnerability-disclosures/blob/main/2025/PANW-2025-0002/PANW-2025-0002.md
- →Exploit targets HTTP POST requests to /cgi-bin/cstecgi.cgi with body containing 'topicurl=setEasyMeshAgentCfg' and command injection characters (;, newline, backtick, pipe, $) in the 'mac' or 'agent' parameters.
- →Command injection is via the 'mac' parameter in the setEasyMeshAgentCfg function; both URL-encoded and literal shell metacharacters should be inspected (;, %3B, newline %0A, backtick %60, pipe %7C, dollar-sign %24).
- →Affected device and firmware: TOTOLINK X18 V9.1.0cu.2053_B20230309; detections should be scoped to this networking equipment. ↗
- →ET rule SID 2064884 (rev:2) covers this CVE alongside CVE-2025-52906 and CVE-2025-61044; deploy at perimeter and internal chokepoints for plaintext HTTP traffic.
- ·The Snort/Suricata rule URI match uses 'bsize:20', meaning it only fires when the URI is exactly 20 bytes (/cgi-bin/cstecgi.cgi); ensure your sensor does not strip or normalize the URI before matching.
- ·The rule is scoped to plaintext HTTP (tls_state plaintext); traffic tunneled over TLS will not be detected without SSL inspection.
- ·The PCRE covers both the 'mac' and 'agent' parameter names, as this rule is shared across CVE-2025-52906, CVE-2025-61044, and CVE-2025-61045; tune alerting context accordingly to avoid cross-CVE confusion.
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 setEasyMeshAgentCfg agentName Parameter Command Injection Attempt (CVE-2025-52906, CVE-2025-61044, CVE-2025-61045)
suricata·2025-09-23·CVSS 9.3
CVE-2025-52906 [CRITICAL] ET WEB_SPECIFIC_APPS Totolink setEasyMeshAgentCfg agentName Parameter Command Injection Attempt (CVE-2025-52906, CVE-2025-61044, CVE-2025-61045)
ET WEB_SPECIFIC_APPS Totolink setEasyMeshAgentCfg agentName Parameter Command Injection Attempt (CVE-2025-52906, CVE-2025-61044, CVE-2025-61045)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Totolink setEasyMeshAgentCfg agentName Parameter Command Injection Attempt (CVE-2025-52906, CVE-2025-61044, CVE-2025-61045)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:20; content:"/cgi-bin/cstecgi.cgi"; http.request_body; content:"topicurl|3d|setEasyMeshAgentCfg"; fast_pattern; pcre:"/(?:mac|agent)\x3d[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/"; reference:url,github.com/PaloAltoNetworks/u42-vulnerability-disclosures/blob/main/2025/PANW-2025-0002/PANW-2025-0002.md; reference:cve,2025-52906; reference:ur
No public exploits indexed.
No writeups or analysis indexed.
2025-10-01
Published