CVE-2025-57571

5.6 MEDIUM

📋 TL;DR

This CVE describes a buffer overflow vulnerability in Tenda F3 routers via the macFilterList parameter in the goform/setNAT endpoint. Attackers can potentially execute arbitrary code or crash the device by sending specially crafted requests. This affects all users running vulnerable firmware versions on Tenda F3 routers.

💻 Affected Systems

Products:
  • Tenda F3
Versions: V12.01.01.48_multi and later versions
Operating Systems: Embedded router firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the web management interface. The vulnerability is present in the default configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete device compromise, persistent backdoor installation, and lateral movement to connected networks.

🟠

Likely Case

Denial of service causing router crashes and network disruption, potentially requiring physical reset.

🟢

If Mitigated

Limited impact if network segmentation isolates the router and external access is restricted.

🌐 Internet-Facing: HIGH - Routers are typically internet-facing devices, and this vulnerability can be exploited remotely via web interface.
🏢 Internal Only: MEDIUM - Internal attackers could exploit this if they have network access to the router's management interface.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires access to the web management interface. The CWE-120 classification indicates classic buffer overflow vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check Tenda website for latest firmware

Vendor Advisory: http://tenda.com

Restart Required: Yes

Instructions:

1. Log into Tenda router web interface. 2. Navigate to System Tools > Firmware Upgrade. 3. Download latest firmware from Tenda website. 4. Upload and install firmware. 5. Router will reboot automatically.

🔧 Temporary Workarounds

Disable remote management

all

Prevent external access to router web interface

Restrict management access

all

Limit web interface access to specific IP addresses only

🧯 If You Can't Patch

  • Segment router management interface to isolated VLAN
  • Implement network firewall rules to block access to goform/setNAT endpoint

🔍 How to Verify

Check if Vulnerable:

Check firmware version in router web interface under System Status. If version is V12.01.01.48_multi or later, device is vulnerable.

Check Version:

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

Verify Fix Applied:

After firmware update, verify version shows newer than V12.01.01.48_multi. Test by attempting to access the vulnerable endpoint.

📡 Detection & Monitoring

Log Indicators:

  • Multiple POST requests to /goform/setNAT with large macFilterList parameters
  • Router crash/reboot logs
  • Unusual traffic patterns to router management interface

Network Indicators:

  • HTTP POST requests to /goform/setNAT with abnormally long parameters
  • Sudden loss of connectivity to router

SIEM Query:

source="router_logs" AND (uri_path="/goform/setNAT" AND content_length>1000)

🔗 References

📤 Share & Export