Skip to main content

TOTOLINK A3300R CVE-2025-12240

HIGH
Buffer Overflow (CWE-119)
2025-10-27 cna@vuldb.com
7.4
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to router web UI
  2. Delivery
    Send crafted setDmzCfg request to cstecgi.cgi
  3. Exploit
    Overflow buffer via oversized 'ip' argument
  4. Execution
    Corrupt memory and hijack control flow
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 7.4 HIGH
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 44% exploitable
Prevalence
Low
niche consumer/SOHO router model, limited enterprise deployment
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +37
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:o:totolink:a3300r_firmware:17.0.0cu.557_b20221024:*:*:*:*:*:*:*
CVE-2024-24333 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the desc paramet

CVE-2024-24332 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the url paramete

CVE-2024-24331 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable param

CVE-2024-24330 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the port or enab

CVE-2024-24329 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable param

CVE-2024-24328 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable param

CVE-2024-24327 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the pppoePass pa

CVE-2024-24326 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the arpEnable pa

CVE-2024-24325 CRITICAL POC
9.8 Jan 30

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable param

CVE-2023-46993 CRITICAL POC
9.8 Oct 31

In TOTOLINK A3300R V17.0.0cu.557_B20221024 when dealing with setLedCfg request, there is no verification for the enable

CVE-2023-46976 CRITICAL POC
9.8 Oct 31

TOTOLINK A3300R 17.0.0cu.557_B20221024 contains a command injection via the file_name parameter in the UploadFirmwareFil

CVE-2023-37173 CRITICAL POC
9.8 Jul 07

TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the command para

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy