CVE-2025-12240 Details
Description
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.
A stack-based buffer overflow vulnerability has been identified in the TOTOLINK A3300R router, specifically in the firmware version 17.0.0cu.557_B20221024. The issue arises in the 'setDmzCfg' function within the file '/cgi-bin/cstecgi.cgi'. The vulnerability is triggered by the 'ip' POST parameter, which is processed without proper input validation or length checks. This oversight allows for excessive data to be written to the stack, potentially leading to arbitrary code execution. The vulnerability can be exploited remotely, and a public proof-of-concept exploit is available.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/noahze01/IoT-vulnerable/blob/main/TOTOLink/A3300R/setDmzCfg.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.329910 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.329910 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.673722 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.totolink.net/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| totolink a3300r firmware | 17.0.0cu.557_b20221024 |
CPE
Remediation
| |
| totolink a3300r | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 27, 2025 | Initial Analysis | [email protected] |
| Oct 27, 2025 | New CVE Received | [email protected] |