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. |
| Impact | This vulnerability presents significant real-world risk. The CVSS v3.1 score of 7.3 (High) accurately reflects the severity, with the attack vector being network-based (AV:N), low attack complexity (AC:L), and requiring no privileges (PR:N) or user interaction (UI:N). The availability of a public proof-of-concept exploit dramatically increases the likelihood of exploitation, as attackers can leverage existing code rather than developing their own. The vulnerability allows partial confidentiality, integrity, and availability impact (C:L/I:L/A:L), meaning attackers achieve full device compromise typical of command injection. Home and small business users of these routers are particularly at risk since Totolink devices often lack automatic update mechanisms and may remain unpatched indefinitely. This should be considered a high-priority remediation item for any organization using affected devices. |
| Exploit ScenarioDerived | An attacker on the internet scans for exposed Totolink WA300 devices using tools like Shodan or Censys to identify devices with accessible web management interfaces. Using the publicly available proof-of-concept exploit, the attacker crafts a malicious HTTP request to the /cgi-bin/cstecgi.cgi endpoint targeting the recvUpgradeNewFw function with specially crafted parameters containing shell metacharacters and commands. Without authentication, the injected commands execute with the privileges of the web server process, allowing the attacker to establish persistence, exfiltrate network traffic, pivot to internal network resources, or enlist the device in a botnet for DDoS attacks. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 20, 2026
A critical OS command injection vulnerability exists in Totolink WA300 router firmware version 5.2cu.7112_B20190227, specifically in the recvUpgradeNewFw function within /cgi-bin/cstecgi.cgi. An unauthenticated remote attacker can exploit this flaw to execute arbitrary operating system commands on the affected device. A public proof-of-concept exploit has been released on GitHub, significantly lowering the barrier to exploitation and increasing real-world risk.
RemediationAI
Users should immediately check the Totolink vendor website at https://www.totolink.net/ for updated firmware versions that address this command injection vulnerability and upgrade to the latest available firmware for the WA300 model. Until patching is feasible, implement network-level mitigations by restricting administrative access to the device management interface to trusted IP addresses only, disabling remote management features if not required, and placing the device behind a firewall that blocks external access to the web interface on ports 80 and 443. Consider replacing the device with a more actively maintained alternative if Totlink has not released security updates, as the presence of a public exploit (https://github.com/user-attachments/files/25790616/Unauthenticated.Remote.Code.Execution.in.TOTOLINK.WA300.via.Command.Injection.in.recvUpgradeNewFw.zip) makes continued use without patches extremely risky.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the Totolink WA300 wireless access point (CPE: cpe:2.3:a:totolink:wa300), a consumer networking device. The root cause is CWE-78 (OS Command Injection), where user-supplied input to the recvUpgradeNewFw function in the /cgi-bin/cstecgi.cgi CGI script is not properly sanitized before being passed to system shell commands. This is a common vulnerability pattern in embedded device firmware where developer-implemented CGI scripts handle firmware upgrade operations without adequate input validation. The vulnerability exists in the web management interface, allowing network-accessible exploitation without prior authentication.
Know when Wa300 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in Totolink WA300 5.2cu.7112_B20190227. Affected by this issue is the function recvUpgradeNewFw of the file /cgi-bin/cstecgi.cgi. This manipulation causes os command injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized.
Executive ViewAI
An unauthenticated remote code execution vulnerability affecting Totolink WA300 routers allows attackers to take complete control of affected devices without credentials. With a public exploit available and no patch currently available, any organization using this router model faces immediate risk of network compromise, data theft, and lateral movement into internal systems.
Implement network access controls to restrict WAN access to the router's management interface; deploy a WAF or intrusion prevention system (IPS) to filter malicious HTTP requests to /cgi-bin/cstecgi.cgi with recvUpgradeNewFw parameters; disable unnecessary CGI services if possible; segment the router on a separate management network with strict ingress/egress filtering; monitor for exploitation attempts using signature-based detection rules; consider disabling remote management features entirely and using out-of-band administration channels.
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.
Remote unauthenticated buffer overflow in Totolink WA300 wireless repeater firmware version 5.2cu.7112_B20190227 enables
Buffer overflow in Totolink WA300 wireless range extender firmware 5.2cu.7112_B20190227 allows authenticated remote atta
Command injection in Totolink WA300 firmware version 5.2cu.7112_B20190227 allows authenticated remote attackers to execu
Command injection in Totolink WA300 5.2cu.7112_B20190227 allows authenticated remote attackers to execute arbitrary comm
Command injection in Totolink WA300 firmware version 5.2cu.7112_B20190227 allows authenticated remote attackers to execu
EUVD-2026-13770
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB