Skip to main content

TOTOLINK A3300R CVE-2026-31181

| EUVDEUVD-2026-25248 CRITICAL
OS Command Injection (CWE-78)
2026-04-23 mitre GHSA-gr6m-gpr8-xrmv
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach router web interface (LAN or exposed WAN)
  2. Delivery
    Send crafted POST to /cgi-bin/cstecgi.cgi
  3. Exploit
    Inject shell metacharacters in stunServerAddr
  4. Execution
    Command executes as root
  5. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 23, 2026 - 19:27 NVD
9.8 (CRITICAL)
CVE Published
Apr 23, 2026 - 00:00 nvd
CRITICAL 9.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 81% exploitable
Prevalence
Low
niche consumer/SOHO router brand, limited enterprise deployment footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy