CVE-2024-3006

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 'entrys' parameter in the fromSetRouteStatic 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: Affects the web management interface accessible via LAN/WAN. No special configuration required for exploitation.

📦 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 if exploit fails or is detected by security controls, with potential for temporary device disruption.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable without authentication and affects internet-facing router interfaces.
🏢 Internal Only: MEDIUM - While primarily an internet-facing risk, compromised routers could be used to pivot to internal networks.

🎯 Exploit Status

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

Public exploit code is available in GitHub repositories. The vulnerability requires no authentication and has straightforward exploitation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: Yes

Instructions:

1. Check Tenda website for firmware updates. 2. If update available, download and install via web interface. 3. Reboot router after update. Note: Vendor has not responded to disclosure, so patches may not be available.

🔧 Temporary Workarounds

Disable Remote Management

all

Prevent external access to router management interface

Access router web interface -> Advanced Settings -> Remote Management -> Disable

Network Segmentation

all

Isolate router management interface to trusted network segments only

Configure firewall rules to restrict access to router IP on ports 80/443 to trusted IPs only

🧯 If You Can't Patch

  • Replace affected routers with different models from vendors with better security track records
  • Implement network monitoring and intrusion detection specifically for router compromise indicators

🔍 How to Verify

Check if Vulnerable:

Check router firmware version via web interface: Login -> System Status -> Firmware Version. If version is 2.0.0.7(775), device is vulnerable.

Check Version:

curl -s http://router-ip/goform/getStatus | grep version

Verify Fix Applied:

Verify firmware version has changed from 2.0.0.7(775) to a newer version. Test the vulnerable endpoint with safe payloads to confirm overflow no longer occurs.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /goform/fromRouteStatic with long 'entrys' parameters
  • Router reboot events following web interface access
  • Unusual outbound connections from router

Network Indicators:

  • Exploit traffic patterns to router management interface
  • Unusual port scanning or connection attempts originating from router

SIEM Query:

source="router_logs" AND (url="/goform/fromRouteStatic" AND (param_length>100 OR status_code=500))

🔗 References

📤 Share & Export