CVE-2024-35099

9.8 CRITICAL

📋 TL;DR

This vulnerability is a stack overflow in the TOTOLINK LR350 router's loginAuth function, allowing remote attackers to execute arbitrary code by sending a specially crafted password parameter. It affects TOTOLINK LR350 routers running firmware version V9.3.5u.6698_B20230810. Attackers can potentially gain full control of affected devices.

💻 Affected Systems

Products:
  • TOTOLINK LR350
Versions: V9.3.5u.6698_B20230810
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

Remote code execution leading to complete device compromise, credential theft, network pivoting, and persistent backdoor installation.

🟠

Likely Case

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

🟢

If Mitigated

Limited impact if devices are behind firewalls with strict ingress filtering and network segmentation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available in GitHub repositories. The vulnerability is in the login function, making exploitation straightforward.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Not available

Restart Required: Yes

Instructions:

1. Check TOTOLINK website for firmware updates. 2. Download latest firmware. 3. Upload via web interface. 4. Reboot router.

🔧 Temporary Workarounds

Disable Remote Management

all

Prevent external access to the web management interface.

Access router settings > Administration > Remote Management > Disable

Network Segmentation

all

Isolate affected routers from critical network segments.

🧯 If You Can't Patch

  • Implement strict network access controls to limit access to router management interface
  • Monitor network traffic for unusual patterns or exploit attempts

🔍 How to Verify

Check if Vulnerable:

Check firmware version in router web interface: System > Status > Firmware Version

Check Version:

curl -s http://router-ip/cgi-bin/luci/ | grep -i version

Verify Fix Applied:

Verify firmware version is newer than V9.3.5u.6698_B20230810

📡 Detection & Monitoring

Log Indicators:

  • Unusual login attempts with long password strings
  • System crash or reboot logs

Network Indicators:

  • HTTP POST requests to login endpoint with unusually long password parameters
  • Traffic patterns suggesting exploit delivery

SIEM Query:

source="router_logs" AND (event="login_failed" AND password_length>100) OR event="system_reboot"

🔗 References

📤 Share & Export