Overview
The vulnerability CVE-2024-0299 is a critical flaw discovered in Totolink N200RE 9.3.5u.6139_B20201216. This vulnerability impacts the function setTracerouteCfg of the file /cgi-bin/cstecgi.cgi. It allows attackers to execute arbitrary OS commands remotely, making it a significant security risk for any system dependent on the affected software.
Vulnerability Summary
CVE ID: CVE-2024-0299
Severity: Critical (CVSS: 7.3)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: Potential system compromise or data leakage
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
Totolink N200RE | 9.3.5u.6139_B20201216
How the Exploit Works
The exploit works by manipulating the ‘command’ argument in the setTracerouteCfg function that resides in the /cgi-bin/cstecgi.cgi file. An attacker can inject and execute arbitrary operating system commands remotely. The execution of these commands can lead to unauthorized system access, potential system compromise, or data leakage.
Conceptual Example Code
Below is a conceptual example of an HTTP request that could potentially exploit this vulnerability:
POST /cgi-bin/cstecgi.cgi HTTP/1.1
Host: target.example.com
Content-Type: application/x-www-form-urlencoded
setTracerouteCfg=1&command=any-os-command-here
In the above example, ‘any-os-command-here’ would be replaced with the specific command the attacker wishes to execute on the system. The arbitrary OS command is injected via the ‘command’ argument in the ‘setTracerouteCfg’ function.
Mitigation Guidance
To mitigate this vulnerability, apply the vendor patch as soon as it becomes available. In the meantime, using a Web Application Firewall (WAF) or an Intrusion Detection System (IDS) can provide temporary mitigation. It is also recommended to monitor network traffic for any strange behavior or unauthorized access attempts.
