CVE-2025-52906
published 2025-09-24CVE-2025-52906: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in TOTOLINK X6000R allows OS Command Injection.This…
PriorityP277critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
13.16%
95.9th percentile
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in TOTOLINK X6000R allows OS Command Injection.This issue affects X6000R: through V9.4.0cu.1360_B20241207.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| totolink | x6000r | <= V9.4.0cu.1360_B20241207 | — |
| totolink | x6000r_firmware | <= 9.4.0cu.1360_b20241207 | — |
Detection & IOCsextracted from sources · hover to see the quote
othertopicurl=setEasyMeshAgentCfg
snort
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; classtype:attempted-admin; sid:2064884; rev:2;)
- →Target the POST method to /cgi-bin/cstecgi.cgi with a request body containing topicurl=setEasyMeshAgentCfg; the agentName (or mac/agent) parameter will carry the injected payload using shell metacharacters: semicolon (;/%3B), newline (%0A), backtick (`/%60), pipe (|/%7C), or dollar sign ($/%24).
- →The vulnerability is unauthenticated — no session cookie or credential check is required. Any HTTP client that can reach the router's web interface can trigger the injection via the setEasyMeshAgentCfg function. ↗
- →The /cgi-bin/cstecgi.cgi endpoint uses the topicurl parameter as a routing mechanism; monitor for POST requests to this endpoint with topicurl values referencing sensitive configuration functions (e.g., setEasyMeshAgentCfg, setWizardCfg). ↗
- →Affected firmware version is V9.4.0cu.1360_B20241207; use device fingerprinting to identify exposed TOTOLINK X6000R routers running this version and prioritize them for patching or network segmentation. ↗
- ·The Snort/ET rule (sid:2064884) covers CVE-2025-52906 alongside CVE-2025-61044 and CVE-2025-61045; tune or scope accordingly if only CVE-2025-52906 detection is desired.
- ·The URI content match uses an exact byte-size constraint (bsize:20) for /cgi-bin/cstecgi.cgi; ensure your IDS/IPS does not strip or normalize the URI before this match is evaluated.
- ·The rule is marked tls_state plaintext — it will not detect exploitation over HTTPS/TLS without SSL inspection enabled on the monitoring device.
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.09.3CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:X/RE:X/U:X
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.
Unit42
TOTOLINK X6000R: Three New Vulnerabilities Uncovered
blogs_unit42·2025-10-01·CVSS 7.0
CVE-2025-52905 [HIGH] TOTOLINK X6000R: Three New Vulnerabilities Uncovered
Threat Research Center
Threat Research
Vulnerabilities
## TOTOLINK X6000R: Three New Vulnerabilities Uncovered
Zhibin Zhang
Published: October 1, 2025
Threat Research
Vulnerabilities
CVE-2025-52905
CVE-2025-52906
CVE-2025-52907
IoT Vulnerability
Remote Code Execution
## Executive Summary
We have uncovered three vulnerabilities in the firmware of the TOTOLINK X6000R router, version V9.4.0cu.1360_B20241207, released on March 28, 2025:
CVE
Rating
Score
Description
CVE-2025-52905
High
CVSS-B 7.0
An argument injection flaw that attackers can use to trigger a denial of service (DoS), crashing the router or overwhelming remote servers.
CVE-2025-52906
Critical
CVSS-B 9.3
An unauthenticated command injection vulnerability that allows attackers to remotely execute arbit
Unit42
TOTOLINK X6000R: Three New Vulnerabilities Uncovered
blogs_unit42·2025-10-01·CVSS 7.0
CVE-2025-52905 [HIGH] TOTOLINK X6000R: Three New Vulnerabilities Uncovered
## Executive Summary
We have uncovered three vulnerabilities in the firmware of the TOTOLINK X6000R router, version V9.4.0cu.1360_B20241207, released on March 28, 2025:
CVE
Rating
Score
Description
CVE-2025-52905
High
CVSS-B 7.0
An argument injection flaw that attackers can use to trigger a denial of service (DoS), crashing the router or overwhelming remote servers.
CVE-2025-52906
Critical
CVSS-B 9.3
An unauthenticated command injection vulnerability that allows attackers to remotely execute arbitrary commands on the device.
CVE-2025-52907
High
CVSS-B 7.3
A security bypass that attackers can exploit to corrupt system files, cause a persistent denial-of-service, or achieve arbitrary file writes. Chaining attacks could lead to remote code execution (RCE).
TOTOLINK is a manufacturer of
2025-09-24
Published