CVE-2025-25457

7.5 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on Tenda AC10 routers via a buffer overflow in the AdvSetMacMtuWan function. Attackers can exploit this by sending specially crafted requests to the cloneType2 parameter. All users running the vulnerable firmware version are affected.

💻 Affected Systems

Products:
  • Tenda AC10
Versions: V4.0si_V16.03.10.20
Operating Systems: Embedded Linux
Default Config Vulnerable: ⚠️ Yes
Notes: Affects 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 backdoor installation, network traffic interception, and lateral movement to other devices on the network.

🟠

Likely Case

Remote code execution allowing attackers to modify router settings, intercept traffic, or use the device as part of a botnet.

🟢

If Mitigated

Limited impact if the router is behind a firewall with restricted WAN access and proper network segmentation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public proof-of-concept code is available, making exploitation straightforward for attackers with basic skills.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Not available

Restart Required: Yes

Instructions:

1. Check Tenda's official website for firmware updates. 2. Download the latest firmware for AC10. 3. Log into router admin panel. 4. Navigate to System Tools > Firmware Upgrade. 5. Upload and install the new firmware. 6. Wait for router to reboot.

🔧 Temporary Workarounds

Disable Remote Management

all

Prevents external attackers from accessing the vulnerable interface

Log into router admin panel
Navigate to Advanced > System Tools > Remote Management
Disable remote management

Restrict WAN Access

linux

Block external access to router management interface using firewall rules

iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

🧯 If You Can't Patch

  • Isolate the router on a dedicated network segment with strict firewall rules
  • Implement network monitoring to detect exploitation attempts

🔍 How to Verify

Check if Vulnerable:

Check firmware version in router admin panel under System Status or System Tools > Firmware Upgrade

Check Version:

curl -s http://router-ip/ | grep -i firmware || ssh admin@router-ip 'cat /proc/version'

Verify Fix Applied:

Verify firmware version has been updated to a version newer than V16.03.10.20

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /goform/AdvSetMacMtuWan
  • Multiple failed authentication attempts followed by successful access
  • Unexpected process execution or memory errors in system logs

Network Indicators:

  • HTTP requests with long strings in cloneType2 parameter
  • Traffic to router management interface from unexpected external IPs
  • Unusual outbound connections from router

SIEM Query:

source="router-logs" AND (uri="/goform/AdvSetMacMtuWan" OR uri="*cloneType2*")

🔗 References

📤 Share & Export