Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach router web interface (LAN/WAN)
-
DeliverySend POST to /cgi-bin/cstecgi.cgi
-
ExploitInject shell metacharacters in stunEnable
-
ExecutionCommand executed by CGI as root
-
ImpactFull device compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The specific prerequisite is HTTP reachability of the /cgi-bin/cstecgi.cgi endpoint and the ability to submit the stunEnable parameter, with command metacharacters injected into its value. Per the CVSS vector (PR:N/UI:N) no authentication or user interaction is required. The primary limiting factor is network exposure: consumer routers typically bind the management UI to the LAN only, so unauthenticated internet exploitation depends on remote/WAN management being enabled or the attacker already being on the local network; exploitation is confirmed only against firmware v17.0.0cu.557_B20221024 on the A3300R. |
| Impact | Signals conflict in a way defenders should weigh carefully: the CVSS base score is 9.8 (network, low complexity, no privileges, no user interaction) and SSVC rates Technical Impact as total with Automatable=yes, which argues for high priority; however EPSS is very low (0.06%, 19th percentile) and there is no CISA KEV entry, so real-world mass exploitation is not currently evidenced. SSVC exploitation status is 'poc', consistent with the GitHub proof-of-concept, but PoC availability is distinct from active exploitation. The realistic risk is elevated for internet-exposed or LAN-adjacent A3300R devices because the flaw is trivially automatable and unauthenticated, but the low EPSS suggests exploitation is currently opportunistic/targeted rather than widespread. A key limiter not captured in CVSS: consumer routers typically expose the web UI only on the LAN by default, so AV:N is fully realistic only where remote management is enabled or the attacker is already on the local network. |
| Exploit ScenarioDerived | An attacker who can reach the router's web interface (from the LAN, or from the internet if remote management is enabled) sends a crafted HTTP POST to /cgi-bin/cstecgi.cgi with shell metacharacters embedded in the stunEnable parameter. Because no authentication or user interaction is required and the input is passed to a shell, the injected commands run with the CGI process's privileges (typically root on these devices), giving full device takeover. A public PoC exists, making the attack easy to reproduce and automate. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Command injection in the TOTOLINK A3300R router (firmware v17.0.0cu.557_B20221024) lets remote attackers execute arbitrary OS commands by injecting into the stunEnable parameter of the /cgi-bin/cstecgi.cgi endpoint. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) indicates unauthenticated network exploitation with total confidentiality, integrity, and availability impact, and publicly available exploit code exists via a GitHub PoC. Despite the 9.8 rating, EPSS is only 0.06% (19th percentile), and there is no CISA KEV listing, so no active exploitation is confirmed.
RemediationAI
No vendor-released patch identified at time of analysis; TOTOLINK has not published a fixed firmware version in the provided data, so monitor the vendor's firmware download page for an update superseding v17.0.0cu.557_B20221024 and apply it once released. As compensating controls, disable remote/WAN web management so /cgi-bin/cstecgi.cgi is not reachable from the internet (trade-off: administrators must be on the LAN or VPN to manage the device), restrict access to the management interface to trusted management hosts via firewall/ACLs, and place the device behind an upstream firewall that blocks inbound access to the HTTP management port (side effect: none for normal LAN clients). Where feasible, consider replacing end-of-support consumer hardware, since these devices frequently receive delayed or no security fixes. Reference the PoC and advisory at https://github.com/Svigo-o/TOTOLINK-Vul and https://nvd.nist.gov/vuln/detail/CVE-2026-31175 to build detection and firewall rules.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the cstecgi.cgi CGI binary that backs the web management interface of TOTOLINK SOHO routers, a common pattern in low-cost MediaTek/Realtek-based consumer gateways where CGI handlers pass user-supplied parameters into shell or system calls without sanitization. The root cause is CWE-77 (Improper Neutralization of Special Elements used in a Command), meaning the stunEnable parameter value is incorporated into a command string and metacharacters (e.g. ;, &, |, backticks) are not neutralized, allowing shell command injection. The CPE data is unhelpful here (cpe:2.3:a:n/a:n/a:*), so exact affected-product identification relies on the description naming the A3300R and the specific firmware build.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated command injection over HTTP with no user interaction (AV:N/AC:L/PR:N/UI:N) yielding root-level command execution gives total C/I/A impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
An issue was discovered in ToToLink A3300R firmware v17.0.0cu.557_B20221024 allowing attackers to execute arbitrary commands via the stunEnable parameter to /cgi-bin/cstecgi.cgi.
Executive ViewAI
TOTOLIK A3300R routers (firmware v17.0.0cu.557_B20221024) contain a critical unauthenticated remote code execution vulnerability; publicly available exploit code exists. No vendor patch is available, leaving affected devices vulnerable to complete compromise, though real-world exploitation probability remains low at 0.06% EPSS, with no confirmed active exploitation to date.
No vendor-released patch identified at time of analysis. Interim mitigations: implement network segmentation restricting router access to trusted networks only; deploy firewall rules limiting access to /cgi-bin/cstecgi.cgi endpoint; monitor for exploitation attempts using IDS/IPS signatures detecting stunEnable parameter injection; consider offline deployment of affected routers; evaluate replacement router options if patch timeline becomes unacceptable.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-25264
GHSA-7442-hxj8-4fvg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB