CVE-2026-7152
Deferred Deferred - Pending Action
OS Command Injection in Totolink A8000RU CGI Handler (Remote

Publication date: 2026-04-27

Last updated on: 2026-04-27

Assigner: VulDB

Description
A vulnerability was identified in Totolink A8000RU 7.1cu.643_b20200521. The affected element is the function setTelnetCfg of the file /cgi-bin/cstecgi.cgi of the component CGI Handler. Such manipulation of the argument telnet_enabled leads to os command injection. It is possible to launch the attack remotely. The exploit is publicly available and might be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-27
Last Modified
2026-04-27
Generated
2026-05-07
AI Q&A
2026-04-28
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
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows remote attackers to execute arbitrary OS commands on the affected TOTOLINK A8000RU router. This could lead to unauthorized access, data manipulation, or disruption of services.

Such unauthorized access and potential data compromise could negatively impact compliance with standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data against unauthorized access and breaches.

However, the provided information does not explicitly describe the direct impact on compliance frameworks or specific data types affected.


How can this vulnerability impact me? :

This vulnerability allows an attacker to remotely execute arbitrary operating system commands on the affected router without any authentication.

The impact includes potential full compromise of the device, allowing the attacker 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 attackers can easily leverage this vulnerability to gain unauthorized control.


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 POST request to the endpoint /cgi-bin/cstecgi.cgi with the parameter telnet_enabled containing a command injection payload.

For example, a proof of concept uses the payload `ls>./setTelnetCfg.txt` to check if the router executes the command and creates a file named setTelnetCfg.txt.

A detection command could be a curl command like:

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

After running this command, checking the router's filesystem for the presence of the file setTelnetCfg.txt indicates successful command execution and confirms the vulnerability.


What immediate steps should I take to mitigate this vulnerability?

To mitigate the CVE-2026-7152 vulnerability in the TOTOLINK A8000RU router, immediate steps include disabling the Telnet service if it is enabled, as the vulnerability is triggered via the telnet_enabled parameter.

Additionally, restrict remote access to the router's management interface to trusted networks only, to reduce the risk of remote exploitation.

Monitor for any unusual activity or unexpected files such as setTelnetCfg.txt, which may indicate exploitation attempts.

Apply any available firmware updates or patches from the vendor that address this vulnerability as soon as they become available.


Can you explain this vulnerability to me?

CVE-2026-7152 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 function setTelnetCfg within the file /cgi-bin/cstecgi.cgi.

The vulnerability arises because the user-supplied parameter "telnet_enabled" is improperly handled. This parameter is passed to a function that constructs a command string and executes it on the operating system without proper sanitization.

An attacker can send a crafted POST request to the router with a malicious value for "telnet_enabled", causing arbitrary OS commands to be executed remotely. For example, a proof of concept sets "telnet_enabled" to `ls>./setTelnetCfg.txt`, which causes the router to execute the command and create a file listing the directory contents.


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