CVE-2024-0297: OS Command Injection in Totolink N200RE UploadFirmwareFile
- Vendor
- Totolink
CVE-2024-0297 is a critical OS command injection vulnerability in Totolink N200RE firmware version 9.3.5u.6139_B20201216. The flaw is present in the UploadFirmwareFile function exposed through /cgi-bin/cstecgi.cgi. According to the provided content, improper handling of the FileName argument allows attacker-controlled input to be incorporated into an operating system command, resulting in command injection. The vulnerability is remotely exploitable, and public exploit disclosure has been reported.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote attacker to execute arbitrary operating system commands in the context of the vulnerable device. This can lead to full compromise of the router, including unauthorized administrative control, modification of device configuration, deployment of persistent malware or backdoors, interception or manipulation of network traffic, and potential use of the device as a pivot point for further attacks into the local network.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the router management interface and /cgi-bin/cstecgi.cgi to trusted administrative networks only. Disable remote administration from untrusted networks, place the device behind upstream access controls, and use firewall rules to prevent external access to the web management plane. Monitor for suspicious requests involving firmware upload functionality and unexpected process execution on the device. If exposure cannot be reduced and no patch is available, remove or replace the affected device.
Remediation
Patch, then assume compromise.
Upgrade to a vendor-fixed firmware version if one becomes available. Because the provided content does not identify a patched release and notes that the vendor did not respond to disclosure, organizations should monitor Totolink for security advisories or updated firmware addressing CVE-2024-0297. If no fix is available, consider replacing affected devices with supported hardware.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-0297 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-0297?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2024-0297.
- Is there a patch for CVE-2024-0297?
- Upgrade to a vendor-fixed firmware version if one becomes available. Because the provided content does not identify a patched release and notes that the vendor did not respond to disclosure, organizations should monitor Totolink for security advisories or updated firmware addressing CVE-2024-0297.
- What products are affected by CVE-2024-0297?
- Totolink N200re Firmware.
- How severe is CVE-2024-0297?
- CVE-2024-0297 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 3.8% (90th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.