cbcvebase.
CVE-2025-5902
published 2025-06-09

CVE-2025-5902: A vulnerability was found in TOTOLINK T10 4.1.8cu.5207 and classified as critical. This issue affects the function setUpgradeFW of the file…

PriorityP269high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
3.87%
89.0th percentile
A vulnerability was found in TOTOLINK T10 4.1.8cu.5207 and classified as critical. This issue affects the function setUpgradeFW of the file /cgi-bin/cstecgi.cgi of the component POST Request Handler. The manipulation of the argument slaveIpList leads to buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Affected

2 ranges
VendorProductVersion rangeFixed in
totolinkt10
totolinkt10_firmware

Detection & IOCsextracted from sources · hover to see the quote

path/cgi-bin/cstecgi.cgi
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Totolink setUpgradeFW slaveIpList Parameter Command Injection Attempt (CVE-2025-5902)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:20; content:"/cgi-bin/cstecgi.cgi"; http.request_body; content:"|22|setUpgradeFW|22|"; fast_pattern; content:"|22|slaveIpList|22|"; pcre:"/^[^\x2c\x7d$]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R"; reference:url,candle-throne-f75.notion.site/TOTOLINK-T10-setUpgradeFW-20bdf0aa11858089bc28f634bb140d00; reference:cve,2025-5902; classtype:attempted-admin; sid:2062870; rev:1; metadata:affected_product TOTOLINK, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_06_10, cve CVE_2025_5902, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, 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;)
  • Match POST requests to /cgi-bin/cstecgi.cgi where the request body contains the string 'setUpgradeFW' and 'slaveIpList', then inspect the slaveIpList value for shell metacharacters: semicolon (;/%3B), newline (\x0a/%0A), backtick (`/%60), pipe (|/%7C), or dollar sign ($/%24).
  • The URI match uses a fixed body size of 20 bytes for /cgi-bin/cstecgi.cgi, which can be used as an additional filter to reduce false positives.
  • Traffic is expected in plaintext (no TLS); the attack targets networking equipment via an externally reachable POST Request Handler, consistent with perimeter and internal deployment detection.
  • The vulnerability is in the setUpgradeFW function of TOTOLINK T10 version 4.1.8cu.5207; the manipulation of the slaveIpList argument leads to buffer overflow exploitable remotely.
  • ·The Snort/Suricata rule (ET sid:2062870) targets plaintext HTTP only; encrypted (HTTPS) traffic to the device will not be detected by this signature.
  • ·The exploit has been publicly disclosed; treat all TOTOLINK T10 4.1.8cu.5207 devices as immediately at risk until patched.

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.