TOTOLINK A3300R
CVE-2025-12240
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to router web UI
-
DeliverySend crafted setDmzCfg request to cstecgi.cgi
-
ExploitOverflow buffer via oversized 'ip' argument
-
ExecutionCorrupt memory and hijack control flow
-
ImpactExecute code or crash device
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network access to the router's web management interface (/cgi-bin/cstecgi.cgi) and an authenticated low-privilege session (CVSS PR:L), so the attacker must possess valid or default credentials, or chain this with an authentication bypass. The specific trigger is the setDmzCfg function processing an attacker-controlled 'ip' argument that overflows a fixed buffer; the DMZ configuration feature path must be reachable. Limiting factors: the PR:L authentication requirement, the fact that it affects only the specific A3300R firmware build 17.0.0cu.557_B20221024, and the consumer/SOHO deployment profile (interfaces are typically LAN-facing unless remote management is enabled). No user interaction is required (UI:N). |
| Impact | This is a stack/heap buffer overflow (CWE-119) in the setDmzCfg handler of the cstecgi.cgi binary on the TOTOLINK A3300R router, reachable over the network. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates network reachability with low complexity but requires low-level privileges (PR:L), meaning an authenticated session is needed - exploitation is NOT fully unauthenticated despite being remote. Impact is high across confidentiality, integrity and availability (VC:H/VI:H/VA:H), consistent with arbitrary code execution or device crash on an embedded device. Publicly available exploit code exists (POC on GitHub), but there is no CISA KEV listing and the EPSS score is low (0.84%, 56th percentile), indicating no evidence of widespread automated exploitation at this time. Overall this is a genuine code-execution flaw on the device, but the PR:L authentication requirement and the niche consumer-router footprint temper its real-world priority: it is most relevant where attackers already have valid (or default) credentials or can chain it after an authentication bypass. Note the input provides only a CVSS 4.0 vector (base metrics with E:P); no CVSS 3.1 vector and no SSVC decision data were supplied, so automatable/exploitation-maturity beyond 'Proof-of-Concept' (E:P) cannot be independently confirmed. |
| Exploit ScenarioDerived | An attacker with a valid or default low-privilege login to the A3300R web interface sends a crafted request to /cgi-bin/cstecgi.cgi invoking setDmzCfg with an oversized or malformed 'ip' argument, overflowing a buffer and corrupting memory. This can crash the device or lead to arbitrary code execution on the router. Public proof-of-concept exploit code for this exact function is already published on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Authenticated remote attackers can trigger a buffer overflow in the setDmzCfg handler of TOTOLINK A3300R firmware 17.0.0cu.557_B20221024 by sending a crafted ip parameter to /cgi-bin/cstecgi.cgi, potentially leading to arbitrary code execution or device crash with high confidentiality, integrity, and availability impact. Publicly available exploit code exists, and EPSS is 0.84% (56th percentile), but no confirmed active exploitation (CISA KEV) is indicated in the provided data. The attack requires network access to the router's web management interface and a valid low-privilege session (PR:L in both the supplied CVSS 4.0 vector and the independent CVSS 3.1 assessment), so default or compromised credentials or an authentication bypass would be needed.
RemediationAI
No vendor-released patch identified at time of analysis. Check TOTOLINK's official site (https://www.totolink.net/) and support channels for updated A3300R firmware, and monitor the referenced public exploit at https://github.com/noahze01/IoT-vulnerable/blob/main/TOTOLink/A3300R/setDmzCfg.md for any vendor response. Until a patched firmware is available, restrict access to the web management interface so that /cgi-bin/cstecgi.cgi is reachable only from trusted LAN segments, disable WAN/remote management if enabled, and change all default credentials; this reduces exposure but does not remove the risk for users who can reach the interface. Disable the DMZ configuration feature if it is not required, which removes the vulnerable code path but may break intended DMZ functionality. Enforce least privilege so low-privilege authenticated sessions cannot reach administrative CGI endpoints, and monitor or block HTTP requests to /cgi-bin/cstecgi.cgi containing setDmzCfg with unusually long ip parameters; network filtering and monitoring add defense in depth but can be bypassed by attackers who already have valid credentials or an authentication bypass.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is the TOTOLINK A3300R consumer/SOHO wireless router running firmware 17.0.0cu.557_B20221024, identified by CPE cpe:2.3:o:totolink:a3300r_firmware:17.0.0cu.557_b20221024:*:*:*:*:*:*:*. The vulnerable component is the /cgi-bin/cstecgi.cgi web-management CGI program, specifically the setDmzCfg function, which processes DMZ configuration input. The ip argument is copied into a fixed-size memory buffer without adequate bounds validation, resulting in a CWE-119 improper restriction of operations within the bounds of a memory buffer; this can corrupt adjacent memory and may enable arbitrary code execution or denial of service. The CVSS 4.0 vector lists AV:N/AC:L/AT:N/PR:L/UI:N with high impact to confidentiality, integrity, and availability, and the independent assessment agrees with a CVSS 3.1 base of AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, meaning the flaw is network-reachable but requires an authenticated low-privilege context and no user interaction.
Know when A3300R Firmware gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Network-reachable CGI endpoint (AV:N/AC:L) but setDmzCfg requires an authenticated session (PR:L); buffer overflow yields full code-execution/crash impact, so C/I/A all High.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security vulnerability has been detected in TOTOLINK A3300R 17.0.0cu.557_B20221024. This affects the function setDmzCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument ip leads to buffer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.
Executive ViewAI
TOTOLINK A3300R routers running firmware 17.0.0cu.557_B20221024 are affected by a high-severity buffer overflow that can allow an authenticated low-privilege attacker to execute code or crash the device; publicly available exploit code exists, and no vendor-released patch identified at time of analysis. Organizations using these routers-especially those exposing the management web interface-face potential network disruption, data exposure, or compromise of the device as a pivot point. Leadership should prioritize discovery, isolation, and compensating controls while awaiting vendor remediation.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting the web management interface to trusted networks or VPN, disabling WAN-side management, changing default/weak credentials, segmenting affected routers, monitoring requests to /cgi-bin/cstecgi.cgi, and replacing devices if risk cannot be reduced.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Affected Products (CPE)CVE.org
More in A3300R Firmware
View allTOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the desc paramet
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the url paramete
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable param
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the port or enab
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable param
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable param
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the pppoePass pa
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the arpEnable pa
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable param
In TOTOLINK A3300R V17.0.0cu.557_B20221024 when dealing with setLedCfg request, there is no verification for the enable
TOTOLINK A3300R 17.0.0cu.557_B20221024 contains a command injection via the file_name parameter in the UploadFirmwareFil
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the command para
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB