CVE-2026-5997

Totolink A7100RU CGI cstecgi.cgi setLoginPasswordCfg os command injection

Published Apr 10, 2026 CVSS 4.0 · 9.3 Critical EPSS 1.8% KEV · Not listed
Description
A vulnerability was detected in Totolink A7100RU 7.4cu.2313_b20191024. The impacted element is the function setLoginPasswordCfg of the file /cgi-bin/cstecgi.cgi of the component CGI Handler. The manipulation of the argument admpass results in os command injection. It is possible to launch the attack remotely. The exploit is now public and may be used.

Analysis

AI-generated

Technical impact

The flaw lies in the setLoginPasswordCfg handler of the router’s CGI interface. The admpass parameter is not sanitized and is passed directly to the operating system shell, allowing an attacker to inject arbitrary commands. This remote command injection can lead to full compromise of the device, enabling the attacker to read or modify firmware, install backdoors, or disrupt network traffic.

Affected Systems

This vulnerability affects Totolink A7100RU routers running firmware version 7.4cu.2313_b20191024. The affected component is the CGI handler located at /cgi-bin/cstecgi.cgi. Other firmware releases containing the same code may also be vulnerable, but only this version has been confirmed.

Risk and Exploitability

The CVSS score of 9.3 denotes a critical severity. The exploit is publicly available and can be launched remotely through the web interface without authentication, simply by manipulating the admpass parameter. EPSS score of 2%, but the combination of a high severity score and public exploit suggests a high likelihood of real‑world exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, yet the critical impact warrants immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the router firmware to the latest Totolink release that fixes the command‑injection flaw.
  • Add input validation to the admpass parameter, removing characters that can be interpreted by the operating system shell or replace the vulnerable os.system call with a safe API that does not invoke a shell, thereby addressing CWE‑77 and CWE‑78.
  • Limit exposure of the /cgi‑bin/cstecgi.cgi endpoint by enforcing authentication, IP‑based filtering, or disabling remote web management, reducing the attack surface tied to CWE‑78.

Generated by OpenCVE AI on October 25, 2026 at 21:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Totolink a7100ru
Vendors & Products Totolink a7100ru
Type Values Removed Values Added
Description A vulnerability was detected in Totolink A7100RU 7.4cu.2313_b20191024. The impacted element is the function setLoginPasswordCfg of the file /cgi-bin/cstecgi.cgi of the component CGI Handler. The manipulation of the argument admpass results in os command injection. It is possible to launch the attack remotely. The exploit is now public and may be used.
Title Totolink A7100RU CGI cstecgi.cgi setLoginPasswordCfg os command injection
First Time appeared Totolink
Totolink a7100ru Firmware
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:o:totolink:a7100ru_firmware:*:*:*:*:*:*:*:*
Vendors & Products Totolink
Totolink a7100ru Firmware
References
Metrics cvssV2_0

{'score': 10, 'vector': 'AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 9.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 10, 2026, 1:47 PM
Reserved
Apr 9, 2026, 12:49 PM
Status
Deferred
Published
Apr 10, 2026, 2:16 AM
Modified
Oct 26, 2026, 9:10 PM