CVE-2026-134882
A critical command injection vulnerability in the TOTOLINK A7100RU router allows remote attackers to execute operating system commands by manipulating the Username argument.
What is it?
This vulnerability exists because the router accepts user input and passes it directly to the underlying operating system shell without proper checking. The CGI handler component processes requests in the exportOvpn function, and malicious input in the Username field can trick the router into running unauthorized system commands.
Think of it like this
Imagine a security guard who blindly follows any written note handed to them by strangers at the front gate, even if the note tells the guard to open every vault in the building.
How the attack works
- The attacker sends a specially crafted network request to the router's CGI handler endpoint.
- The request targets the exportOvpn function and manipulates the Username argument.
- The application fails to clean or validate the input and passes it directly to the system shell.
- The router executes the attacker-supplied commands with high privileges.
Real-world example
Imagine an attacker on the internet sends a malicious request containing hidden system commands inside the username field to a vulnerable TOTOLINK router, allowing them to take complete control of the device remotely.
Who is affected
TOTOLINK A7100RU version 7.4cu.2313_B20191024.
Impact
An attacker gains total control over the affected device with high impacts to confidentiality, integrity, and availability.
How to fix it
- Check with the vendor for available firmware updates or patches.
- Isolate vulnerable routers from direct access via the public internet.
Key terms
- Command Injection
- A vulnerability where an attacker can execute operating system commands on a server or device by supplying unsafe user input.
- CGI Handler
- A component that processes web requests and generates dynamic web content on a server or router.
Official description (NVD)
A weakness has been identified in TOTOLINK A7100RU 7.4cu.2313_B20191024. This issue affects the function exportOvpn of the file /cgi-bin/cstecgi.cgi of the component CGI Handler. This manipulation of the argument Username causes os command injection. The attack is possible to be carried out remotely.