Overview
The CVE-2025-6112 is a critical vulnerability that has been identified in the Tenda FH1205 version 2.0.0.7. This vulnerability, found in the function fromadvsetlanip of the file /goform/AdvSetLanip, could potentially lead to system compromise or data leakage. Given the function’s role in network management, numerous businesses and individual users worldwide relying on Tenda FH1205 could be at risk. Understanding this vulnerability and implementing the necessary fixes is thus paramount to ensuring the security of your network.
Vulnerability Summary
CVE ID: CVE-2025-6112
Severity: Critical, CVSS Score 8.8
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: Potential system compromise or data leakage
Affected Products
Escape the Surveillance Era
Most apps won’t tell you the truth.
They’re part of the problem.
Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.
Ameeba Chat gives you a way out.
- • No phone number
- • No email
- • No personal info
- • Anonymous aliases
- • End-to-end encrypted
Chat without a trace.
Product | Affected Versions
Tenda FH1205 | 2.0.0.7
How the Exploit Works
The exploit takes advantage of a buffer overflow vulnerability in the function fromadvsetlanip. The function is used to set the LAN IP address of the device. However, the function does not properly validate the length of the lanMask argument. An attacker can remotely send a specially crafted request with an oversized lanMask argument. The oversized argument is then copied into a fixed-size buffer, causing the buffer to overflow, which could lead to arbitrary code execution or cause the system to crash.
Conceptual Example Code
Here is a conceptual example of how the vulnerability might be exploited using an HTTP request:
POST /goform/AdvSetLanip HTTP/1.1
Host: target.example.com
Content-Type: application/x-www-form-urlencoded
lanMask=256.256.256.256
In this example, the attacker sends a POST request with an oversized lanMask value. This oversized value overflows the buffer, leading to the potential execution of malicious code.
Mitigation
Users are urged to apply the vendor-provided patch as soon as possible. If the patch cannot be applied immediately, users should consider using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) as a temporary mitigation measure to detect and block attempts to exploit this vulnerability.