CVE-2022-25461

9.8 CRITICAL

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on Tenda AC6 routers via a stack overflow in the SetPptpServerCfg function. Attackers can exploit this by sending specially crafted requests to the startip parameter. Users running Tenda AC6 routers with vulnerable firmware are affected.

💻 Affected Systems

Products:
  • Tenda AC6
Versions: v15.03.05.09_multi
Operating Systems: Embedded Linux firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Affects routers with PPTP server functionality enabled. The vulnerability is in the firmware itself.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device compromise leading to persistent backdoor installation, network traffic interception, credential theft, 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 device is behind firewall with restricted WAN access and proper network segmentation.

🌐 Internet-Facing: HIGH - Routers are typically internet-facing devices, and this vulnerability can be exploited remotely without authentication.
🏢 Internal Only: MEDIUM - Could still be exploited by attackers who gain internal network access through other means.

🎯 Exploit Status

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

Public proof-of-concept code exists in GitHub repositories. The vulnerability requires no authentication and has a straightforward exploitation path.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check Tenda website for latest firmware version

Vendor Advisory: Not publicly documented by vendor

Restart Required: Yes

Instructions:

1. Visit Tenda official website. 2. Download latest firmware for AC6 model. 3. Log into router admin interface. 4. Navigate to System Tools > Firmware Upgrade. 5. Upload and install new firmware. 6. Reboot router.

🔧 Temporary Workarounds

Disable PPTP Server

all

Disable the vulnerable PPTP server functionality if not required

Restrict WAN Access

all

Configure firewall to block external access to router management interface

🧯 If You Can't Patch

  • Isolate vulnerable routers in separate VLAN with strict access controls
  • Implement network monitoring for suspicious traffic to/from router management interface

🔍 How to Verify

Check if Vulnerable:

Check router firmware version in admin interface under System Status or System Tools

Check Version:

Login to router web interface and check System Status page

Verify Fix Applied:

Verify firmware version is newer than v15.03.05.09_multi and test PPTP functionality

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to SetPptpServerCfg endpoint
  • Multiple failed authentication attempts followed by successful exploit

Network Indicators:

  • Unexpected traffic from router to external IPs
  • PPTP connection attempts from unusual sources

SIEM Query:

source_ip=router_ip AND (uri_path="*SetPptpServerCfg*" OR method=POST AND uri_contains="pptp")

🔗 References

📤 Share & Export