Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
CriticalPublic exploit

Command Injection in TOTOLINK setUpgradeFW

IdentifiersCVE-2022-26210CWE-78· Improper Neutralization of Special…

CVE-2022-26210 is a command injection vulnerability affecting multiple TOTOLINK router firmware versions, including A830R V5.9c.4729_B20191112, A3100R V4.1.2cu.5050_B20200504, A950RG V4.1.2cu.5161_B20200903, A800R V4.1.2cu.5137_B20200730, A3000RU V5.9c.5185_B20201128, and A810R V4.1.2cu.5182_B20201026. The flaw is in the setUpgradeFW function of the cstecgi.cgi component, where the FileName parameter is not properly sanitized before being used in a system command context. A remote attacker can send a crafted request containing shell metacharacters in FileName and cause arbitrary command execution on the device. Reporting in the provided content indicates the vulnerability has been used in the wild, including by the RustoBot botnet, to compromise exposed routers.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in remote code execution on the affected router. An attacker can execute arbitrary shell commands in the device context, which can be used to install malware, alter configuration, download and run additional payloads via utilities such as wget or tftp, conscript the device into a botnet, and use it for follow-on activity such as DDoS attacks. Because the target is a network edge device, compromise can also provide a persistent foothold in the victim environment and enable traffic manipulation or further internal targeting depending on deployment.

Mitigation

If you can’t patch tonight, do this now.

If patching is not immediately possible, remove affected router management interfaces from internet exposure, restrict access to administrative CGI endpoints to trusted management networks only, and enforce network-layer controls such as ACLs or firewall rules. Disable unnecessary remote administration features, monitor for suspicious requests to cstecgi.cgi and anomalous outbound traffic such as unexpected DoH, wget, tftp, or C2 communications, and isolate or replace unsupported devices. Given observed botnet exploitation, exposed vulnerable devices should be treated as high priority.

Remediation

Patch, then assume compromise.

Upgrade affected TOTOLINK devices to a vendor-fixed firmware version if one is available. If the vendor has issued updated firmware for the affected models, apply it promptly across all exposed devices. Audit internet-facing TOTOLINK routers, especially the listed affected models, for signs of compromise, unauthorized configuration changes, unexpected downloader activity, or unknown processes. If compromise is suspected, reflash with trusted firmware, rotate administrative credentials, and review surrounding network infrastructure for secondary intrusion activity.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

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
TotolinkA3000ru Firmwareoperating_system
TotolinkA3100r Firmwareoperating_system
TotolinkA800r Firmwareoperating_system
TotolinkA810r Firmwareoperating_system
TotolinkA830r Firmwareoperating_system
TotolinkA950rg Firmwareoperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware1

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.