Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2024-0297: OS Command Injection in Totolink N200RE UploadFirmwareFile

Published Jan 8, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS3.8%90th percentile
CISA KEVNoNot listed
In the wildReported4 exploitation records in Mallory
Vendor
Totolink
IdentifiersCVE-2024-0297CWE-78 · Improper Neutralization of Special…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
TotolinkN200re Firmwareoperating_system
FAQ

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.
Activity feed

Recent activity

2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.