CVE-2025-6112
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-16

Last updated on: 2025-07-18

Assigner: VulDB

Description
A vulnerability, which was classified as critical, has been found in Tenda FH1205 2.0.0.7. This issue affects the function fromadvsetlanip of the file /goform/AdvSetLanip. The manipulation of the argument lanMask leads to buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-16
Last Modified
2025-07-18
Generated
2026-05-07
AI Q&A
2025-06-16
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
tenda fh1205_firmware 2.0.0.7
tenda fh1205 *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
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.
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.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a critical buffer overflow found in the Tenda FH1205 router firmware version 2.0.0.7. It occurs in the function 'fromadvsetlanip' at the '/goform/AdvSetLanip' endpoint, specifically when handling the 'lanMask' parameter. The vulnerability arises because the input buffer is copied to an output buffer without checking if the input size fits, leading to a buffer overflow. This can be exploited remotely by sending specially crafted requests, potentially allowing an attacker to execute arbitrary code or cause a denial of service on the device. [1, 2]


How can this vulnerability impact me? :

Exploitation of this vulnerability can impact the confidentiality, integrity, and availability of the affected router. An attacker can remotely execute arbitrary code or cause a denial of service, which may disrupt network connectivity or allow unauthorized control over the device. This could lead to further compromise of the network environment relying on the router. [1, 2]


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

Detection can be performed by monitoring or testing for specially crafted HTTP requests sent to the /goform/AdvSetLanip endpoint with manipulated lanMask parameters that trigger the buffer overflow. Since the vulnerability is triggered remotely via this endpoint, you can use tools like curl or wget to send test requests with oversized lanMask values and observe the router's behavior for crashes or abnormal responses. For example, a command like: curl -X POST http://<router-ip>/goform/AdvSetLanip -d "lanMask=<oversized_payload>" can be used to test. Network intrusion detection systems (NIDS) can also be configured to alert on suspicious POST requests to /goform/AdvSetLanip with unusual parameter sizes. [1, 2]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include replacing the affected Tenda FH1205 router firmware version 2.0.0.7 with a patched or updated version if available. Since no known mitigations or countermeasures have been documented, it is recommended to avoid using the vulnerable device or restrict access to the /goform/AdvSetLanip endpoint by network segmentation or firewall rules to prevent remote exploitation. Monitoring for exploit attempts and disabling remote management features if possible can also reduce risk. [2]


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