CVE-2024-4164

8.8 HIGH

📋 TL;DR

This critical vulnerability in Tenda G3 routers allows remote attackers to execute arbitrary code via a stack-based buffer overflow in the PPP authentication whitelist management function. Attackers can exploit this to take full control of affected routers. All users running vulnerable firmware versions are affected.

💻 Affected Systems

Products:
  • Tenda G3 router
Versions: 15.11.0.17(9502) (specific version confirmed, other versions may be affected)
Operating Systems: Embedded router firmware
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerable function is part of the web management interface accessible via HTTP/HTTPS.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device compromise leading to persistent backdoor installation, network traffic interception, lateral movement to connected devices, and 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 devices are behind firewalls with strict inbound filtering, though internal network compromise remains possible.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and public exploit details exist, making internet-facing devices prime targets.
🏢 Internal Only: HIGH - Even internally, the vulnerability can be exploited by attackers who gain initial access to the network.

🎯 Exploit Status

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

Exploit details are publicly available on GitHub, making exploitation straightforward for attackers with basic skills.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: Yes

Instructions:

No official patch available. Monitor Tenda website for firmware updates. If update becomes available: 1. Download firmware from official Tenda site 2. Log into router admin interface 3. Navigate to firmware upgrade section 4. Upload and apply new firmware 5. Reboot router

🔧 Temporary Workarounds

Disable remote management

all

Prevent external access to the vulnerable web interface

Log into router admin → System → Remote Management → Disable

Network segmentation

all

Isolate Tenda G3 routers from critical network segments

🧯 If You Can't Patch

  • Replace affected routers with different models from vendors providing security updates
  • Implement strict network access controls to limit traffic to router management interface

🔍 How to Verify

Check if Vulnerable:

Check router firmware version via admin interface: System → Firmware Upgrade → Current Version

Check Version:

Check via web interface or attempt to access /goform/ModifyPppAuthWhiteMac with monitoring

Verify Fix Applied:

Verify firmware version is no longer 15.11.0.17(9502) and no newer vulnerable version

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /goform/ModifyPppAuthWhiteMac
  • Router reboot events following web interface access
  • Configuration changes to PPP authentication settings

Network Indicators:

  • HTTP requests with unusually long pppoeServerWhiteMacIndex parameter values
  • Traffic to router management interface from unexpected sources

SIEM Query:

http.url:"/goform/ModifyPppAuthWhiteMac" AND http.method:POST

🔗 References

📤 Share & Export