CVE-2024-3875

8.8 HIGH

📋 TL;DR

This critical vulnerability in Tenda F1202 routers allows remote attackers to execute arbitrary code via a stack-based buffer overflow in the fromNatlimit function. Attackers can exploit this by sending specially crafted requests to the /goform/Natlimit endpoint. All users running the affected firmware version are at risk.

💻 Affected Systems

Products:
  • Tenda F1202
Versions: 1.2.0.20(408)
Operating Systems: Embedded Linux (router firmware)
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerable endpoint is part of the web management interface which is typically enabled by default.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device compromise leading to persistent remote access, network traffic interception, lateral movement to other devices, and potential botnet recruitment.

🟠

Likely Case

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

🟢

If Mitigated

Limited impact if device is behind strict network segmentation with no internet exposure and all unnecessary services disabled.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and public exploit code exists, making internet-facing devices immediate targets.
🏢 Internal Only: HIGH - Even internally, the vulnerability can be exploited by attackers who gain initial network access through other means.

🎯 Exploit Status

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

Exploit code is publicly available on GitHub, making this easily weaponizable by attackers with basic skills.

🛠️ 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. Consider replacing affected devices or implementing strict network controls.

🔧 Temporary Workarounds

Disable Remote Management

all

Disable web management interface access from WAN/Internet

Access router admin panel -> Advanced Settings -> Remote Management -> Disable

Network Segmentation

all

Isolate router management interface to separate VLAN

🧯 If You Can't Patch

  • Replace affected Tenda F1202 routers with different models from vendors with better security track records
  • Implement strict firewall rules to block all external access to router management interfaces (ports 80/443)

🔍 How to Verify

Check if Vulnerable:

Check router firmware version via admin panel: Login -> System Status -> Firmware Version

Check Version:

Check web interface or use: curl -s http://router-ip/goform/getStatus | grep version

Verify Fix Applied:

No fix available to verify. Monitor for new firmware releases from Tenda.

📡 Detection & Monitoring

Log Indicators:

  • Multiple POST requests to /goform/Natlimit with long parameter values
  • Unusual process execution or memory errors in system logs

Network Indicators:

  • Unusual outbound connections from router to unknown IPs
  • Traffic spikes to/from router management interface

SIEM Query:

source="router_logs" AND (uri="/goform/Natlimit" AND method="POST" AND content_length>1000)

🔗 References

📤 Share & Export