CVE-2025-7525
BaseFortify
Publication date: 2025-07-13
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| totolink | t6_firmware | v4.1.5cu.748_b20211015 |
| totolink | t6 | 3 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-77 | The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. |
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-7525 is a critical command injection vulnerability in the TOTOLINK Mesh Wifi T6 router (version 4.1.5cu.748_B20211015). It occurs due to improper input handling in the setTracerouteCfg function accessed via an HTTP POST request to /cgi-bin/cstecgi.cgi. An attacker can send a specially crafted HTTP POST request to this endpoint, manipulating the 'command' argument to inject and execute arbitrary commands remotely on the device without authentication. [1, 2]
How can this vulnerability impact me? :
This vulnerability allows remote attackers to execute arbitrary commands on the affected TOTOLINK T6 router without authentication. This can compromise the confidentiality, integrity, and availability of the device, potentially allowing attackers to take control of the router, disrupt network services, or use the device as a foothold for further attacks. [2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring HTTP POST requests to the endpoint /cgi-bin/cstecgi.cgi, specifically targeting the setTracerouteCfg function. Suspicious or crafted POST requests containing unusual or malicious payloads in the 'command' parameter may indicate exploitation attempts. Network intrusion detection systems (NIDS) can be configured to alert on such POST requests. A practical detection command could be using tools like curl or tcpdump to capture and analyze traffic, for example: curl -X POST http://<router-ip>/cgi-bin/cstecgi.cgi -d 'action=setTracerouteCfg&command=...' to test or tcpdump -i <interface> 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' to capture HTTP POST traffic. Additionally, reviewing router logs for unexpected traceroute configuration changes may help detect exploitation. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include discontinuing use of the affected TOTOLINK T6 router firmware version 4.1.5cu.748_B20211015, as no known mitigations or patches are available. It is recommended to replace the affected device with an alternative product or firmware version that is not vulnerable. Additionally, restricting network access to the router's management interface, disabling remote management if possible, and monitoring for suspicious activity can reduce risk until replacement is feasible. [2]