Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach router web interface
-
DeliverySend crafted POST to /cgi-bin/cstecgi.cgi
-
ExploitInject shell metacharacters via stunMinAlive
-
ExecutionExecute arbitrary commands as root
-
ImpactInstall implant or pivot into LAN
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques 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 | Exploitation requires network reachability to the router's HTTP management service and the ability to POST to the /cgi-bin/cstecgi.cgi endpoint with a malicious stunMinAlive parameter value containing shell metacharacters; the specific product feature abused is the STUN keep-alive configuration handler within cstecgi.cgi on A3300R firmware v17.0.0cu.557_B20221024. The recorded CVSS vector indicates AV:N/AC:L/PR:N/UI:N (no authentication or user interaction), so if accurate no special conditions are needed beyond reaching the web interface. The key limiting factor is exposure: by default the management interface is LAN-only, so real-world unauthenticated internet exploitation depends on the device having remote/WAN administration enabled or the attacker already being on the local network - and the pre-authentication claim itself is not explicitly confirmed by the terse description and should be validated against the POC. |
| Impact | The raw signals are severe but mixed. CVSS 9.8 with AV:N/AC:L/PR:N/UI:N describes trivial remote exploitation, and SSVC reinforces this: Exploitation=poc, Automatable=yes, Technical Impact=total - a combination that in CISA's framework typically pushes toward prioritized action. Against that, EPSS is only 0.06% (19th percentile) and there is no KEV listing, indicating no observed mass exploitation despite the public POC. The most important caveat is the authentication assumption: many cstecgi.cgi command-injection issues on TOTOLINK devices actually require a valid session or a leaked/default credential, yet the recorded vector claims PR:N; the terse MITRE description does not explicitly confirm pre-authentication reachability, so the true attack complexity may be understated. Bottom line: for anyone actually running an internet-exposed A3300R this is a real and easily automatable priority, but the low EPSS and absence of KEV suggest current exploitation is opportunistic/targeted rather than widespread, and the unauthenticated claim should be verified against the researcher writeup. |
| Exploit ScenarioDerived | An attacker who can reach the router's web interface sends a single crafted HTTP POST to /cgi-bin/cstecgi.cgi with shell metacharacters appended to the stunMinAlive parameter, causing the injected command to run with the device's root privileges. Because a public POC exists and SSVC rates the attack automatable, an adversary could script this against many exposed A3300R devices to drop a router-resident implant, pivot into the LAN, or enroll the device into a botnet. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
OS command injection in the TOTOLINK A3300R router (firmware v17.0.0cu.557_B20221024) lets remote attackers run arbitrary shell commands by injecting into the stunMinAlive parameter of the /cgi-bin/cstecgi.cgi endpoint. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) scores it 9.8 Critical with no authentication qualifier indicated, and CISA's SSVC framework marks it automatable with total technical impact. Publicly available exploit code exists (researcher writeup on GitHub), though EPSS remains very low at 0.06% and it is not on the CISA KEV list - no public exploit indicates active exploitation yet.
RemediationAI
No vendor-released patch identified at time of analysis; TOTOLINK has not published a fixed firmware version in the available data, so monitor the TOTOLINK support/download portal for an A3300R firmware release superseding v17.0.0cu.557_B20221024 and apply it once issued. As compensating controls, disable remote/WAN-side access to the web administration interface so /cgi-bin/cstecgi.cgi is not reachable from the internet (trade-off: loses remote management convenience), and restrict LAN access to the admin panel to a trusted management host or VLAN. If the router supports it, place the device behind an upstream firewall that blocks inbound access to the HTTP/HTTPS management ports and drop unsolicited requests to /cgi-bin/cstecgi.cgi. Given this is EOL-class consumer hardware, the most robust mitigation is replacing the device with a currently-supported router. Consult the researcher writeup (https://github.com/Svigo-o/TOTOLINK-Vul/tree/main/totolink-a3300r-stun-min-alive-cmd-injection) and NVD (https://nvd.nist.gov/vuln/detail/CVE-2026-31177) for tracking.
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 A3300R is a consumer/SOHO wireless router whose web management interface is served by cstecgi.cgi, a common CGI handler across many TOTOLINK devices that dispatches configuration actions based on request parameters. This vulnerability is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), meaning the stunMinAlive parameter value is passed into an underlying shell/system call without sanitization, so shell metacharacters (e.g. ;, |, `, $()) break out of the intended command context. The stunMinAlive field relates to STUN keep-alive timing configuration, and like numerous cstecgi.cgi parameters on TOTOLINK firmware it is concatenated into a system command executed with the router's high (typically root) privilege. CPE data is uninformative here (cpe:2.3:a:n/a:n/a:*), so the affected product identity rests on the description rather than a normalized NVD CPE.
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
Reachable command injection over the network at low complexity yielding root-level command execution gives full C/I/A; PR:N follows the recorded vector but is uncertain given TOTOLINK cstecgi.cgi flaws often need a session.
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 stunMinAlive parameter to /cgi-bin/cstecgi.cgi.
Executive ViewAI
The TOTOLINK A3300R router (firmware v17.0.0cu.557_B20221024) contains a critical unauthenticated remote command injection vulnerability (CVSS 9.8) enabling attackers to execute arbitrary system commands on network perimeter devices without authentication. Organizations using this router model face immediate breach risk to core network infrastructure, with no patch currently available from the vendor. This directly impacts network integrity and access controls across all downstream systems.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation-restrict affected routers to protected administrative VLANs with no direct internet access; (2) Firewall rules-block all external access to ports 80 and 443 on management interfaces; (3) Disable remote management-disable HTTP/HTTPS management over WAN if enabled; (4) IDS/IPS-deploy detection rules for /cgi-bin/cstecgi.cgi requests containing stunMinAlive injection patterns; (5) Log monitoring-audit and alert on any access to vulnerable endpoint; (6) Device replacement planning-procurement alternatives pending vendor security update.
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-25245
GHSA-cjmw-h9gc-q2ch
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB