CVE-2025-12271
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-27

Last updated on: 2025-10-28

Assigner: VulDB

Description
A vulnerability was identified in Tenda CH22 1.0.0.1. This affects the function fromRouteStatic of the file /goform/RouteStatic. Such manipulation of the argument page leads to buffer overflow. The attack can be launched remotely. The exploit is publicly available and might be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-27
Last Modified
2025-10-28
Generated
2026-05-07
AI Q&A
2025-10-27
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
tenda ch22_firmware 1.0.0.1
tenda ch22 *
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 Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-12271 is a critical buffer overflow vulnerability in the Tenda CH22 router version 1.0.0.1. It occurs in the fromRouteStatic() function of the /goform/RouteStatic endpoint, where the 'page' parameter is processed using the unsafe sprintf function without length checks. If an attacker sends a 'page' parameter larger than 256 bytes, it causes memory corruption by overwriting adjacent memory. This can lead to application crashes, arbitrary code execution, or information leakage. The vulnerability can be exploited remotely without authentication. [2]


How can this vulnerability impact me? :

This vulnerability can impact you by allowing an attacker to remotely crash the router (Denial of Service), execute arbitrary code on the device by overwriting the stack return address, or leak sensitive information from the device memory. Since exploitation requires no authentication, it poses a high risk of unauthorized control or disruption of the affected router. [2]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by sending a POST request to the /goform/RouteStatic endpoint with an oversized "page" parameter (e.g., 2048 bytes) and observing if the device crashes or behaves abnormally. A proof-of-concept Python script exists that performs this test by sending such a request. Network monitoring for unusual POST requests to /goform/RouteStatic with large payloads can also help detect exploitation attempts. [2]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include restricting access to the /goform/RouteStatic endpoint to trusted users or networks, applying input validation and sanitization to ensure the "page" parameter does not exceed 256 bytes, and replacing unsafe functions like sprintf with safer alternatives such as snprintf. Additionally, applying the principle of least privilege to minimize potential damage and monitoring for exploitation attempts are recommended. If available, update the device firmware to a version that addresses this vulnerability. [2]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart