CVE-2025-12240
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-12240, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-10-27

Last updated on: 2025-10-27

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-10-27
Last Modified
2025-10-27
Generated
2026-07-06
AI Q&A
2025-10-27
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
totolink a3300r_firmware 17.0.0cu.557_b20221024
totolink a3300r *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
CWE-120 The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2025-12240 is a critical buffer overflow vulnerability in the TOTOLINK A3300R router firmware version 17.0.0cu.557_B20221024. It occurs in the setDmzCfg function within the /cgi-bin/cstecgi.cgi script, where the 'ip' argument is improperly handled without verifying input size, leading to a buffer overflow. This flaw allows remote attackers to send crafted input to overflow the buffer, potentially causing arbitrary code execution or denial of service. [1, 4]

Impact Analysis

This vulnerability can be exploited remotely without user interaction, allowing attackers to compromise the confidentiality, integrity, and availability of the affected router. Potential impacts include arbitrary code execution, denial of service, and full compromise of the device, which can disrupt network operations and expose sensitive data. [1, 4]

Detection Guidance

This vulnerability can be detected by monitoring for unusual or suspicious HTTP requests targeting the /cgi-bin/cstecgi.cgi endpoint, specifically those invoking the setDmzCfg function with crafted 'ip' arguments that may cause buffer overflow. Network intrusion detection systems (NIDS) can be configured to alert on such requests. Additionally, you can use curl or wget commands to test the endpoint with crafted inputs to see if the device behaves unexpectedly or crashes. For example, a command like: curl -X POST 'http://<router-ip>/cgi-bin/cstecgi.cgi' --data 'action=setDmzCfg&ip=<crafted_payload>' can be used to test the vulnerability. Monitoring device logs for crashes or abnormal behavior after such requests can also help detect exploitation attempts. [1, 3]

Mitigation Strategies

Immediate mitigation steps include replacing the affected TOTOLINK A3300R router firmware version 17.0.0cu.557_B20221024 with a non-vulnerable version or an alternative device, as no known mitigations or patches are currently available. Restrict remote access to the router's management interface, especially blocking access to /cgi-bin/cstecgi.cgi, to prevent exploitation. Implement network-level protections such as firewall rules or intrusion prevention systems to block malicious requests targeting the vulnerable function. Monitoring for exploit attempts and isolating affected devices can also reduce risk until a fix is available. [1]

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-12240. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart