CVE-2024-3012

8.8 HIGH

📋 TL;DR

A critical stack-based buffer overflow vulnerability in Tenda FH1205 routers allows remote attackers to execute arbitrary code by manipulating the 'mac' parameter in the GetParentControlInfo function. This affects Tenda FH1205 routers running firmware version 2.0.0.7(775). Attackers can exploit this without authentication to potentially take full control of affected devices.

💻 Affected Systems

Products:
  • Tenda FH1205
Versions: 2.0.0.7(775)
Operating Systems: Embedded router firmware
Default Config Vulnerable: ⚠️ Yes
Notes: All devices running the affected firmware version are vulnerable by default. The vulnerable endpoint is accessible via HTTP requests.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete device compromise, creation of persistent backdoors, lateral movement to internal networks, and botnet recruitment.

🟠

Likely Case

Remote code execution allowing attackers to modify router settings, intercept network traffic, or use the device as a pivot point for further attacks.

🟢

If Mitigated

Denial of service or limited information disclosure if exploit fails or is partially successful.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable without authentication and affects internet-facing routers.
🏢 Internal Only: MEDIUM - Internal routers could be targeted through internal network access or compromised devices.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Public exploit code is available on GitHub. The vulnerability requires no authentication and has a straightforward exploitation path.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available - vendor did not respond to disclosure

Restart Required: Yes

Instructions:

No official patch available. Check Tenda website for firmware updates. If update exists: 1. Download firmware from official Tenda site. 2. Log into router admin interface. 3. Navigate to firmware update section. 4. Upload and apply new firmware. 5. Reboot router.

🔧 Temporary Workarounds

Disable remote management

all

Prevent external access to router administration interface

Block vulnerable endpoint

linux

Use firewall rules to block access to /goform/GetParentControlInfo

iptables -A INPUT -p tcp --dport 80 -m string --string "/goform/GetParentControlInfo" --algo bm -j DROP

🧯 If You Can't Patch

  • Isolate affected routers in separate network segments with strict firewall rules
  • Implement network monitoring and intrusion detection for exploit attempts

🔍 How to Verify

Check if Vulnerable:

Check router firmware version in admin interface. If version is 2.0.0.7(775), device is vulnerable.

Check Version:

Check router web interface at http://router_ip or use nmap scan to identify device model and firmware

Verify Fix Applied:

Verify firmware version has changed from 2.0.0.7(775) to a newer version.

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests to /goform/GetParentControlInfo with long mac parameters
  • Unusual process creation or memory errors in router logs

Network Indicators:

  • HTTP POST requests to /goform/GetParentControlInfo with oversized payloads
  • Unusual outbound connections from router

SIEM Query:

http.url:"/goform/GetParentControlInfo" AND (http.request_body_length > 100 OR http.request_body CONTAINS "mac=")

🔗 References

📤 Share & Export