Overview
The cybersecurity community has recently identified a critical vulnerability (CVE-2024-0294) in Totolink’s LR1200GB 9.1.0u.6619_B20230130. The vulnerability, found in the ‘setUssd’ function of the ‘/cgi-bin/cstecgi.cgi’ file, can lead to potential system compromises or data leakage and has been classified as a critical threat. This report will delve into the details of the vulnerability, its impact, and the steps required for its mitigation.
Vulnerability Summary
CVE ID: CVE-2024-0294
Severity: Critical (CVSS: 7.3)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: Potential system compromise and data leakage
Affected Products
Product | Affected Versions
Totolink LR1200GB | 9.1.0u.6619_B20230130
How the Exploit Works
The vulnerability resides in the ‘setUssd’ function of the ‘/cgi-bin/cstecgi.cgi’ file. An attacker can manipulate the ‘ussd’ argument to inject operating system commands. This can be done remotely, without any user interaction or privileges. Successful exploitation allows unauthorized parties to take control of the system or access sensitive data.
Conceptual Example Code
An example of how this vulnerability might be exploited is shown below. This conceptual HTTP request injects a malicious OS command via the ‘ussd’ parameter:
POST /cgi-bin/cstecgi.cgi HTTP/1.1
Host: target.example.com
Content-Type: application/x-www-form-urlencoded
setUssd=;malicious_command
Mitigation and Vendor Response
At this time, the vendor has not responded to inquiries regarding this vulnerability. Users are highly recommended to apply the latest patches as soon as they are available. As a temporary mitigation method, users can implement a Web Application Firewall (WAF) or Intrusion Detection System (IDS) to detect and block potential attacks exploiting this vulnerability.