Skip to main content

TOTOLINK X5000R CVE-2025-14586

LOW
Command Injection (CWE-77)
2025-12-13 cna@vuldb.com
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid router admin credentials
  2. Delivery
    Access web management interface HTTPS port
  3. Exploit
    Navigate to exportOvpn CGI endpoint
  4. Execution
    Inject OS command in User parameter
  5. Persist
    Execute arbitrary system commands as web server user
  6. Impact
    Achieve router compromise

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

Valid administrative credentials to the TOTOLINK X5000R web management interface are required to access the vulnerable cstecgi.cgi CGI script. The /cgi-bin/cstecgi.cgi endpoint must be reachable over the network (typically HTTPS port 443). The vulnerability specifically triggers when the exportOvpn action is called with a crafted User parameter containing command injection payloads. No special firmware configuration beyond the default installation is required; the CGI script is present in the baseline firmware. The limiting factor is the requirement for prior authentication (PR:L in CVSS vector), which prevents unauthenticated remote exploitation but does not mitigate the risk once an attacker obtains or guesses administrative credentials.

Impact

The CVSS vector shows AV:N (network-accessible), AC:L (low attack complexity), and PR:L (requires login), with low confidentiality, integrity, and availability impacts rated. However, this scoring is misleading because command injection fundamentally enables full system compromise regardless of the low-impact ratings assigned. The EPSS score of 1.71% at the 82nd percentile indicates this is a below-average exploitation probability relative to all CVEs, likely reflecting that the vulnerability requires prior authentication as a limiting factor. The critical signal is that public exploit code exists, confirmed by the referenced GitHub repository, combined with the low CVSS vector complexity suggesting the exploit is trivial to execute once credentials are obtained. The discrepancy between CVSS (2.1) and realistic impact (complete router compromise) suggests defenders should prioritize this higher than the CVSS score alone indicates, particularly in organizations where router admin credentials may be shared or weak. The authentication requirement (PR:L) is the primary mitigating factor preventing widespread automated exploitation of internet-facing devices.

Exploit ScenarioDerived

An attacker with valid administrative credentials to the TOTOLINK X5000R web interface navigates to the VPN configuration export function (/cgi-bin/cstecgi.cgi?action=exportOvpn&type=user) and crafts a malicious User parameter containing shell metacharacters such as pipe symbols or semicolons to inject arbitrary OS commands. The crafted request is sent to the router, the vulnerable snprintf function fails to sanitize the input, and the injected command executes with the privileges of the web server process, potentially achieving system-level compromise including firmware modification or data exfiltration.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 1.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 29, 2026

OS command injection in TOTOLINK X5000R firmware 9.1.0cu.2089_B20211224 allows authenticated remote attackers to execute arbitrary system commands via the User parameter in the /cgi-bin/cstecgi.cgi exportOvpn function. The vulnerability requires valid login credentials but results in complete system compromise once authenticated. Public exploit code is available, and the CVSS score of 2.1 significantly underrepresents the true risk due to the low-impact scoring parameters masking the severity of unauthenticated command execution in a network-accessible management interface.

RemediationAI

TOTOLINK has not released a patched firmware version for the X5000R at the time of this analysis based on available data. Immediate mitigation requires restricting network access to the router's web management interface by enabling firewall rules to allow only trusted administrator IP addresses to reach the device's HTTPS port (typically 443), reducing the attack surface to authenticated users on controlled networks only. Additionally, enforce strong, unique administrative credentials and disable remote management access if not required for operational needs. Monitor the TOTOLINK official website (https://www.totolink.net/) for security updates, as the vendor advisory has not yet published a confirmed patch version. Organizations should consider upgrading to a newer firmware version if available from TOTOLINK, or replacing the affected device if no patch is forthcoming within a reasonable timeframe.

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 X5000R router's web-based management interface, specifically in the cstecgi.cgi CGI script which handles VPN configuration export functionality. The snprintf function in the exportOvpn action improperly sanitizes the User parameter before passing it to an OS command execution context, violating CWE-77 (Improper Neutralization of Special Elements used in a Command). The affected firmware version is 9.1.0cu.2089_B20211224, which is identified by CPE as a TOTOLINK X5000R device. The attack leverages the fact that the CGI script constructs shell commands using unsanitized user input without proper escaping or validation.

Know when X5000r Firmware 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 (vuldb) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was determined in TOTOLINK X5000R 9.1.0cu.2089_B20211224. Affected by this issue is the function snprintf of the file /cgi-bin/cstecgi.cgi?action=exportOvpn&type=user. This manipulation of the argument User causes os command injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized.

Threat Intelligence Overview

EPSS Score
1.7%
Top 18% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC Yes
EPSS 1.7%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +10
PoC: +20
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.

Affected Products (CPE)CVE.org

cpe:2.3:o:totolink:x5000r_firmware:9.1.0cu.2089_b20211224:*:*:*:*:*:*:*
CVE-2023-30013 CRITICAL POC
9.8 May 05

TOTOLINK X5000R V9.1.0u.6118_B20201102 and V9.1.0u.6369_B20230113 contain a command insertion vulnerability in setting/s

CVE-2025-13184 CRITICAL POC
9.8 Dec 10

Unauthenticated remote attackers can enable Telnet on TOTOLINK X5000R AX1800 routers running firmware V9.1.0u.6369_B2023

CVE-2023-31569 CRITICAL POC
9.8 Jun 06

TOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain a command injection via the setWanCfg function. Rated

CVE-2025-70327 CRITICAL POC
9.8 Feb 23

Argument injection in TOTOLINK X5000R router v9.1.0cu via setDiagnosisCfg handler allows unauthenticated remote code exe

CVE-2024-32353 CRITICAL POC
9.8 May 14

TOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain a command injection vulnerability via the 'port' param

CVE-2024-28639 CRITICAL POC
9.8 Mar 16

Buffer Overflow vulnerability in TOTOLink X5000R V9.1.0u.6118-B20201102 and A7000R V9.1.0u.6115-B20201022, allow remote

CVE-2023-6612 CRITICAL POC
9.8 Dec 08

A vulnerability was found in Totolink X5000R 9.1.0cu.2300_B20230112. Rated critical severity (CVSS 9.8), this vulnerabil

CVE-2023-45984 CRITICAL POC
9.8 Oct 16

TOTOLINK X5000R V9.1.0u.6118_B20201102 and TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a stack over

CVE-2023-36950 CRITICAL POC
9.8 Oct 16

TOTOLINK X5000R V9.1.0u.6118_B20201102 and TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a stack over

CVE-2023-36947 CRITICAL POC
9.8 Oct 16

TOTOLINK X5000R V9.1.0u.6118_B20201102 and TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a stack over

CVE-2023-39618 CRITICAL POC
9.8 Aug 21

TOTOLINK X5000R B20210419 was discovered to contain a remote code execution (RCE) vulnerability via the setTracerouteCfg

CVE-2023-39617 CRITICAL POC
9.8 Aug 21

TOTOLINK X5000R_V9.1.0cu.2089_B20211224 and X5000R_V9.1.0cu.2350_B20230313 were discovered to contain a remote code exec

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