CVE-2025-5904
published 2025-06-10CVE-2025-5904: A vulnerability was found in TOTOLINK T10 4.1.8cu.5207. It has been declared as critical. Affected by this vulnerability is the function setWiFiMeshName of the…
PriorityP272high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
7.24%
93.6th percentile
A vulnerability was found in TOTOLINK T10 4.1.8cu.5207. It has been declared as critical. Affected by this vulnerability is the function setWiFiMeshName of the file /cgi-bin/cstecgi.cgi of the component POST Request Handler. The manipulation of the argument device_name leads to buffer overflow. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| totolink | t10 | — | — |
| totolink | t10_firmware | — | — |
Detection & IOCsextracted from sources · hover to see the quote
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Totolink setWiFiMeshName device_name Parameter Buffer Overflow Attempt (CVE-2025-5904)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:20; content:"/cgi-bin/cstecgi.cgi"; http.request_body; content:"|22|setWiFiMeshName|22|"; fast_pattern; content:"|22|device_name|22|"; pcre:"/^[^\x2c\x7d$]{100,}(?:\x2c|\x7d|$)/R"; reference:url,candle-throne-f75.notion.site/TOTOLINK-T10-setWiFiMeshName-20bdf0aa1185806eb922dbd496c4a4b4; reference:cve,2025-5904; classtype:web-application-attack; sid:2062873; rev:1; metadata:affected_product TOTOLINK, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_06_10, cve CVE_2025_5904, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag AI_Generated_Description, updated_at 2025_06_10, 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 requests to /cgi-bin/cstecgi.cgi; look for the JSON body containing the action 'setWiFiMeshName' with an oversized 'device_name' value (100+ characters without a comma or closing brace).
- →The attack is plaintext HTTP (not TLS), making it inspectable at the perimeter or internally without decryption.
- →The exploit has been publicly disclosed; treat any matching traffic as high-confidence exploitation attempt (MITRE T1190 – Exploit Public-Facing Application).
- →The URI field is exactly 20 bytes ('/cgi-bin/cstecgi.cgi'); use a strict URI length check alongside content matching to reduce false positives.
- ·Affected version is specifically TOTOLINK T10 firmware 4.1.8cu.5207; verify device firmware version before scoping detection rules.
- ·The Snort rule (sid:2062873) targets plaintext HTTP only; if the management interface is ever exposed over HTTPS, the rule will not fire without TLS inspection in place.
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv4.07.4HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/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:X/AU:X/R:X/V:X/RE:X/U:X
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
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 setWiFiMeshName device_name Parameter Buffer Overflow Attempt (CVE-2025-5904)
suricata·2025-06-10·CVSS 7.4
CVE-2025-5904 [HIGH] ET WEB_SPECIFIC_APPS Totolink setWiFiMeshName device_name Parameter Buffer Overflow Attempt (CVE-2025-5904)
ET WEB_SPECIFIC_APPS Totolink setWiFiMeshName device_name Parameter Buffer Overflow Attempt (CVE-2025-5904)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Totolink setWiFiMeshName device_name Parameter Buffer Overflow Attempt (CVE-2025-5904)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:20; content:"/cgi-bin/cstecgi.cgi"; http.request_body; content:"|22|setWiFiMeshName|22|"; fast_pattern; content:"|22|device_name|22|"; pcre:"/^[^\x2c\x7d$]{100,}(?:\x2c|\x7d|$)/R"; reference:url,candle-throne-f75.notion.site/TOTOLINK-T10-setWiFiMeshName-20bdf0aa1185806eb922dbd496c4a4b4; reference:cve,2025-5904; classtype:web-application-attack; sid:2062873; rev:1; metadata:affected_product TOTOLINK, attack_target Networking_Equipment, tls_state plaintext,
No public exploits indexed.
No writeups or analysis indexed.
https://candle-throne-f75.notion.site/TOTOLINK-T10-setWiFiMeshName-20bdf0aa1185806eb922dbd496c4a4b4https://vuldb.com/?ctiid.311677https://vuldb.com/?id.311677https://vuldb.com/?submit.592264https://www.totolink.net/https://candle-throne-f75.notion.site/TOTOLINK-T10-setWiFiMeshName-20bdf0aa1185806eb922dbd496c4a4b4
2025-06-10
Published