CVE-2025-6113
BaseFortify
Publication date: 2025-06-16
Last updated on: 2025-06-17
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| tenda | fh1203_firmware | 2.0.1.6 |
| tenda | fh1203 | * |
Helpful Resources
Exploitability
| 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?
CVE-2025-6113 is a critical buffer overflow vulnerability in the Tenda FH1203 router firmware version 2.0.1.6. It occurs in the function 'fromadvsetlanip' at the '/goform/AdvSetLanip' endpoint when processing the 'lanMask' parameter. The vulnerability arises because the input buffer for 'lanMask' is copied to an output buffer without verifying that the input size fits, leading to a buffer overflow. This can allow a remote attacker to execute arbitrary code or cause a denial of service on the device. [1, 2]
How can this vulnerability impact me? :
This vulnerability can impact you by allowing remote attackers to compromise the confidentiality, integrity, and availability of the affected Tenda FH1203 router. Exploiting the buffer overflow can enable attackers to execute arbitrary code remotely or cause denial of service, potentially taking control of the device or disrupting network operations. The exploit is publicly available and easy to launch remotely without local access. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection can focus on monitoring requests to the /goform/AdvSetLanip endpoint, specifically looking for unusually large or malformed lanMask parameters that could trigger the buffer overflow. Network intrusion detection systems (NIDS) can be configured to alert on such suspicious HTTP POST requests targeting this endpoint. Additionally, manual testing using crafted HTTP requests with oversized lanMask values can help verify vulnerability presence. Specific commands are not provided in the resources. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include replacing the affected Tenda FH1203 router running firmware version 2.0.1.6 with a non-vulnerable device or firmware version, as no known mitigations or countermeasures exist. Limiting remote access to the /goform/AdvSetLanip endpoint via firewall rules or network segmentation may reduce exposure. Monitoring for exploit attempts and applying any future vendor patches promptly is also recommended. [2]