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

Stack-based buffer overflow in TOTOLINK T10 cstecgi.cgi loginAuthUrl handling

IdentifiersCVE-2025-14964CWE-121· Stack-based Buffer Overflow

A stack-based buffer overflow vulnerability in TOTOLINK T10 firmware 4.1.8cu.5083_B20200521 exists in /cgi-bin/cstecgi.cgi, where the sprintf() call copies attacker-controlled data derived from the loginAuthUrl argument into a fixed-size stack buffer without adequate bounds checking. A remote attacker can trigger the overflow by supplying a crafted loginAuthUrl value, resulting in memory corruption and potential control of execution flow.

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.

Remote exploitation can cause memory corruption leading to denial of service (crash/reboot) and, depending on exploitability, arbitrary code execution in the context of the vulnerable CGI process. The provided content indicates potential complete compromise of confidentiality, integrity, and availability of the affected device.

Mitigation

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

Until a fixed firmware is deployed, reduce exposure of the device management/CGI interface: restrict access to the router’s web management service to trusted networks (e.g., LAN-only), block remote/WAN access via firewall/ACLs, and monitor for anomalous requests containing oversized loginAuthUrl parameters. Where feasible, place the device behind an additional perimeter control to prevent direct attacker reachability to the web interface.

Remediation

Patch, then assume compromise.

Apply vendor-provided patches/firmware updates that correct the unsafe sprintf() usage in /cgi-bin/cstecgi.cgi (e.g., replace with bounded formatting such as snprintf and enforce strict length validation on loginAuthUrl). Upgrade TOTOLINK T10 from firmware 4.1.8cu.5083_B20200521 to a fixed release when available.
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
TotolinkT10 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 malware

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 activity8

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