CVE-2026-7136
Received Received - Intake
OS Command Injection in Totolink A8000RU CGI Handler (Remote

Publication date: 2026-04-27

Last updated on: 2026-04-27

Assigner: VulDB

Description
A weakness has been identified in Totolink A8000RU 7.1cu.643_b20200521. Affected by this issue is the function setDmzCfg of the file /cgi-bin/cstecgi.cgi of the component CGI Handler. Executing a manipulation of the argument wanIdx can lead to os command injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-27
Last Modified
2026-04-27
Generated
2026-05-06
AI Q&A
2026-04-27
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
totolink a8000ru 7.1cu.643_b20200521
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-7136 is a command injection vulnerability in the TOTOLINK A8000RU router, version 7.1cu.643_b20200521. It exists in the CGI Handler component, specifically in the setDmzCfg function of the /cgi-bin/cstecgi.cgi file.

The vulnerability arises because the user-supplied parameter "wanIdx" is not properly sanitized before being used in a system command. This parameter is inserted into a buffer and then executed by the router's system command function, allowing an attacker to inject arbitrary operating system commands remotely.

A proof of concept shows that by sending a crafted HTTP POST request with a malicious "wanIdx" value, an attacker can execute commands such as listing directory contents and writing them to a file on the device.


How can this vulnerability impact me? :

This vulnerability allows remote attackers to execute arbitrary operating system commands on the affected TOTOLINK A8000RU router without any authentication.

The impact includes potential full control over the device, enabling attackers to manipulate router settings, intercept or redirect network traffic, deploy malware, or use the device as a foothold for further attacks within the network.

Because the exploit is publicly available, the risk of exploitation is high, and the device could be compromised quickly if exposed to untrusted networks.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by sending a crafted HTTP POST request to the /cgi-bin/cstecgi.cgi endpoint with a specially crafted parameter "wanIdx" that attempts to execute a command on the device.

For example, a proof of concept uses the payload `wanIdx=ls>./setDmzCfg.txt` which, if successful, causes the router to execute the command and create a file named setDmzCfg.txt containing the directory listing.

To detect the vulnerability, you can use a command like the following with curl to test if the device is vulnerable:

  • curl -X POST http://[router_ip]/cgi-bin/cstecgi.cgi -d "wanIdx=ls>./setDmzCfg.txt"

After running this command, check if the file setDmzCfg.txt exists on the device or if the command output can be observed, which would confirm the vulnerability.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The CVE-2026-7136 vulnerability allows remote attackers to execute arbitrary OS commands on the affected TOTOLINK A8000RU router due to improper sanitization of user input. This kind of vulnerability can lead to unauthorized access, data breaches, and potential manipulation or exfiltration of sensitive information.

Such security weaknesses can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require organizations to protect personal and sensitive data against unauthorized access and ensure the integrity and confidentiality of systems processing such data.

Specifically, exploitation of this vulnerability could result in violations of data protection requirements, leading to potential legal and financial consequences under these regulations.


What immediate steps should I take to mitigate this vulnerability?

To mitigate the CVE-2026-7136 vulnerability in the TOTOLINK A8000RU router, immediate steps include restricting remote access to the affected CGI Handler component, especially the /cgi-bin/cstecgi.cgi endpoint.

Additionally, it is advisable to monitor network traffic for suspicious POST requests containing the 'wanIdx' parameter, which could indicate exploitation attempts.

If possible, apply any available firmware updates or patches from the vendor that address this command injection vulnerability.

As a temporary workaround, disabling or blocking access to the vulnerable function setDmzCfg or the entire CGI Handler may reduce risk until a patch is applied.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart