Skip to main content

TOTOLINK A3300R CVE-2025-12259

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
    Reach router web interface
  2. Delivery
    Authenticate with low-privilege credentials
  3. Exploit
    Send crafted POST to cstecgi.cgi setScheduleCfg
  4. Execution
    Overflow stack via oversized recHour
  5. Persist
    Hijack control flow / crash service
  6. Impact
    Execute code or deny service on 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

Requires HTTP access to the router's management interface and the ability to send a POST request to /cgi-bin/cstecgi.cgi invoking the setScheduleCfg function with an attacker-controlled recHour parameter; the overflow is triggered specifically by an oversized recHour value. Per the input CVSS vector (PR:L), low-privilege authentication to the web interface is required, which limits exploitation to attackers who have or can obtain valid/default credentials or who can reach an exposed management interface - however, the description does not explicitly confirm this auth gate, so it should be verified. Exploitation is further bounded to the specific affected build (A3300R firmware 17.0.0cu.557_B20221024); no user interaction is needed (UI:N).

Impact

Signals are moderate and largely consistent. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, score 7.4) describes a remotely reachable, low-complexity attack that requires low-privilege authentication (PR:L) and yields high confidentiality, integrity and availability impact on the device - consistent with a stack-based buffer overflow (CWE-119) in the cstecgi.cgi POST handler of a SOHO router. Exploitation status is 'publicly available exploit code exists' (POC on GitHub); this is NOT CISA KEV, so there is no confirmed active exploitation. EPSS is low at 1.02% (62nd percentile), which does not conflict with POC availability - public PoC raises opportunity but EPSS reflects observed/predicted real-world exploitation volume, which remains modest. Note a tension worth flagging: the CVSS declares PR:L (authentication required), yet the terse VulDB-style description does not state the privilege prerequisite explicitly - verify whether the setScheduleCfg endpoint actually enforces authentication, because many TOTOLINK cstecgi.cgi endpoints have historically been reachable pre-auth, which would raise real risk. Overall this is a genuine but not top-tier priority: real memory-corruption flaw with public PoC, but gated by (claimed) authentication, low EPSS, no KEV, and confined to a single niche consumer router firmware build.

Exploit ScenarioDerived

An attacker with network reachability to the router's web management interface (and, per the CVSS vector, low-level credentials) sends a crafted POST request to /cgi-bin/cstecgi.cgi invoking setScheduleCfg with an overlong recHour argument. The oversized value overflows a stack buffer, corrupting the saved return address and enabling code execution or a crash/denial of service on the device. A public proof-of-concept for this exact endpoint is published on GitHub, lowering the bar to reproduce the attack.

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

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

Alert me

AnalysisAIv1 – Oct 08, 2026

A stack-based buffer overflow in the setScheduleCfg function of the TOTOLINK A3300R router (firmware 17.0.0cu.557_B20221024) lets an attacker who can reach the device's web management interface send a POST request to /cgi-bin/cstecgi.cgi with an oversized recHour parameter and corrupt memory, which the assessed vector rates as high impact to confidentiality, integrity and availability (CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; vendor/CNA CVSS 4.0 base 7.4). Exploit code is publicly available via a GitHub proof-of-concept writeup, so unpatched, internet- or LAN-exposed units should be presumed exploitable, though there is no CISA KEV evidence of active exploitation and EPSS is modest at 1.02% (62nd percentile). Per the PR:L vector, low-privilege authentication is indicated, meaning attackers need valid or default web-interface credentials - the description itself does not independently confirm this gate, so it should be verified against the affected build.

RemediationAI

No vendor-released patch for A3300R firmware 17.0.0cu.557_B20221024 was identified in the provided data, so the first action is to check https://www.totolink.net/ (and the VulDB references https://vuldb.com/?id.329930) for a fixed firmware image and upgrade immediately if one exists; given the 2022 build date, a fix may never ship, in which case replacement of the device should be planned. Until then, compensating controls, in order of effectiveness: disable WAN/remote administration of the web UI and firewall the router's HTTP/HTTPS management port so only a trusted administrative VLAN can reach /cgi-bin/cstecgi.cgi (trade-off: no remote management and requires re-cabling or jump-host access); rotate the admin password to a strong, unique value and remove default credentials, since the assessed vector is PR:L and low-privilege/default logins are the likely entry point (trade-off: this does nothing against an attacker who already holds valid credentials and does not address the memory-safety defect); where a filtering layer exists, block or normalize POSTs whose recHour parameter exceeds a sane length before they reach the CGI (trade-off: brittle, easily bypassed by encoding variants, and risks false negatives); and segment the router onto an isolated network with egress monitoring, watching device logs and SNMP/syslog for unexpected reboots or crashes that would indicate the overflow is being triggered (trade-off: operational overhead and no prevention). Because a stack overflow in a management CGI can escalate from denial of service to code execution, treat any exposed A3300R as compromised-risk and monitor for configuration changes or anomalous outbound traffic.

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 root cause is CWE-119 (improper restriction of operations within the bounds of a memory buffer), materializing as a classic stack-based buffer overflow in an embedded HTTP management CGI. The vulnerable component is /cgi-bin/cstecgi.cgi, a TOTOLINK/Realtek-style configuration CGI that parses form/query data from HTTP POST requests; the setScheduleCfg handler copies the caller-supplied recHour argument into a fixed-size stack buffer without validating length, so an oversized value overwrites adjacent stack memory. CPE data pins the affected platform to cpe:2.3:o:totolink:a3300r_firmware:17.0.0cu.557_b20221024, i.e., the firmware image running on the A3300R wireless router hardware; the firmware build date (2022-10-24) suggests a legacy, likely end-of-life device generation with limited exploit mitigations (embedded MIPS/ARM toolchain images of this era frequently lack stack canaries, full ASLR and NX enforcement), which is why even a simple parameter overflow can progress from crash to potential control-flow hijack. Because the flaw lives in the device's own management plane and the CNA/NVD vector is AV:N, any interface - WAN-exposed admin page, LAN, or a guest/VLAN segment - that can reach the CGI is a viable attack path, and the assessed impact is confined to the device itself (S:U).

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 with low complexity; PR:L mirrors the provided vector's claimed authentication; a memory-corruption RCE on the device gives full C/I/A impact with unchanged scope.

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 flaw has been found in TOTOLINK A3300R 17.0.0cu.557_B20221024. The affected element is the function setScheduleCfg of the file /cgi-bin/cstecgi.cgi of the component POST Parameter Handler. This manipulation of the argument recHour causes stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been published and may be used.

Executive ViewAI

Why It Matters

TOTOLINK A3300R routers running firmware 17.0.0cu.557_B20221024 are exposed to a high-severity memory-corruption flaw in the web management interface; publicly available exploit code exists, and no vendor-released patch identified at time of analysis. Because these devices may be internet- or LAN-facing, a successful attack could let an authenticated low-privilege actor disrupt or fully control the router, affecting network availability, data confidentiality, and integrity for all users and connected systems. Leadership should prioritize asset visibility, immediate access restriction, and replacement or mitigation planning until vendor firmware is available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include disabling WAN/remote management, blocking external access to the web management interface and /cgi-bin/cstecgi.cgi, restricting administrative access to a trusted management VLAN or VPN, replacing default credentials with strong unique passwords, segmenting or isolating affected routers, monitoring for abnormal recHour POST requests, and prioritizing replacement if exposure cannot be eliminated.

Threat Intelligence Overview

EPSS Score
1.0%
Top 38% exploitable
Prevalence
Low
niche consumer SOHO router, single firmware build, no enterprise footprint
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 1.0%
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