Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach router web interface (LAN or exposed WAN)
-
DeliverySend crafted POST to /cgi-bin/cstecgi.cgi
-
ExploitInject shell metacharacters in stunServerAddr
-
ExecutionCommand executes as root
-
ImpactFull device takeover and network pivot
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 the attacker to reach the router's web management interface and send a request to the /cgi-bin/cstecgi.cgi endpoint with a malicious stunServerAddr parameter value; the CVSS vector (PR:N/UI:N) indicates no authentication or user interaction is needed against the affected firmware. The key limiting factor is network reachability of the admin interface: by default many TOTOLINK routers expose this only on the LAN, so remote unauthenticated exploitation typically requires WAN-side management to be enabled or the attacker to already be on the local network. The confirmed-vulnerable target is firmware v17.0.0cu.557_B20221024 on the A3300R; behavior on other builds is unverified. |
| Impact | Signals are mixed. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H) describes trivial, unauthenticated, network-reachable exploitation with total impact, and SSVC reinforces this: Exploitation=poc, Automatable=yes, Technical Impact=total. Against that, the EPSS score is only 0.06% (19th percentile) and there is no CISA KEV listing, indicating no evidence of widespread active exploitation to date. The low EPSS despite a critical CVSS is best explained by the product's niche consumer/SOHO footprint and the requirement of direct reachability to the web interface - realistically these devices are dangerous mainly when the admin interface is exposed to the WAN or an attacker is already on the LAN. Note the CVSS assumes AV:N/PR:N, but many routers expose cstecgi.cgi only on the LAN by default; if WAN management is disabled, real-world attack vector is effectively adjacent/local, which should temper the 9.8 rating. Publicly available exploit code exists, raising the practical likelihood of opportunistic scanning against exposed devices. |
| Exploit ScenarioDerived | An attacker who can reach the router's web interface - either on the LAN or via an internet-exposed management port - sends a crafted HTTP request to /cgi-bin/cstecgi.cgi with shell metacharacters embedded in the stunServerAddr parameter, causing the injected command to run as root. Public exploit/proof-of-concept code is available in the referenced GitHub repository, lowering the skill required to weaponize this. The result is full device takeover, enabling traffic interception, botnet enrollment, or pivoting into the internal network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
OS command injection in TOTOLINK A3300R routers (firmware v17.0.0cu.557_B20221024) lets remote attackers run arbitrary commands by injecting shell metacharacters into the stunServerAddr parameter of the /cgi-bin/cstecgi.cgi endpoint. The flaw carries CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) and publicly available exploit code exists, though EPSS remains low at 0.06% and it is not listed in CISA KEV.
RemediationAI
No vendor-released patch identified at time of analysis; no fixed firmware version is cited in the available data, so a version-specific upgrade cannot be recommended. As compensating controls: disable remote/WAN-side web management so /cgi-bin/cstecgi.cgi is unreachable from the internet (side effect: administration only possible from the LAN), and restrict LAN access to the admin interface via firewall/ACLs or a management VLAN to limit which hosts can reach the CGI endpoint. Where the STUN/NAT-traversal feature configured via stunServerAddr is not required, avoid changing that setting and consider disabling the feature to reduce the reachable attack surface. Monitor TOTOLINK's support site for updated A3300R firmware and apply it once released; given the vendor's history, consider replacing end-of-support hardware if no fix is published. Track the researcher advisory at https://github.com/Svigo-o/TOTOLINK-Vul/tree/main/totolink-a3300r-stun-server-addr-cmd-injection.
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 handler that powers the web management interface of TOTOLINK's A3300R SOHO router. This handler processes user-supplied parameters and passes the stunServerAddr value (used to configure a STUN server address for NAT traversal) into an underlying shell/system call without sanitization, matching CWE-78 (Improper Neutralization of Special Elements used in an OS Command). Command injection in these MIPS-based embedded busybox environments typically executes as root, since router web daemons run with full privileges. The CPE string provided (cpe:2.3:a:n/a:n/a:*) is a placeholder and does not identify the product, so affected-product identification relies on the description rather than structured NVD CPE data.
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 OS command injection over the network with no user interaction yields PR:N/UI:N/AC:L; root-level command execution gives full C:H/I:H/A:H, though real AV may be adjacent if WAN mgmt is off.
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 stunServerAddr parameter to /cgi-bin/cstecgi.cgi.
Executive ViewAI
TOTOLINK A3300R routers (firmware v17.0.0cu.557_B20221024) contain an unauthenticated remote code execution vulnerability allowing attackers to inject arbitrary OS commands via the stunServerAddr parameter, fully compromising affected devices. Organizations deploying these routers face immediate risk of network infrastructure takeover, lateral movement into critical systems, and data theft.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict web interface access to /cgi-bin/cstecgi.cgi via firewall whitelisting to trusted administrators only; (2) Implement network segmentation isolating routers from critical assets; (3) Deploy monitoring for exploitation attempts and abnormal command execution; (4) Disable stunServerAddr configuration parameter if firmware settings allow; (5) Review and restrict router management protocols (SSH, telnet) to trusted sources. Public exploit code exists, requiring elevated vigilance and access controls pending replacement.
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-25248
GHSA-gr6m-gpr8-xrmv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB