CVE-2024-37645

8.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on TRENDnet TEW-814DAP wireless access points by exploiting a stack overflow in the formSysLog endpoint. Attackers can send specially crafted requests to the submit-url parameter to gain control of affected devices. This affects all users of the vulnerable firmware version.

💻 Affected Systems

Products:
  • TRENDnet TEW-814DAP
Versions: v1 with firmware version 1.01B01
Operating Systems: Embedded Linux
Default Config Vulnerable: ⚠️ Yes
Notes: All devices running the vulnerable firmware are affected regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full device compromise leading to persistent backdoor installation, network pivoting, and complete loss of confidentiality/integrity/availability.

🟠

Likely Case

Remote code execution allowing attackers to modify device configuration, intercept network traffic, or use device as botnet node.

🟢

If Mitigated

Limited impact if device is behind firewall with strict access controls and network segmentation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public GitHub repository contains detailed vulnerability analysis and proof-of-concept code.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Not available

Restart Required: Yes

Instructions:

1. Check TRENDnet website for firmware updates
2. Download latest firmware for TEW-814DAP
3. Access device web interface
4. Navigate to firmware upgrade section
5. Upload and apply new firmware
6. Reboot device

🔧 Temporary Workarounds

Network Access Restriction

linux

Block external access to device management interface

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

Disable Remote Management

all

Turn off remote administration features

🧯 If You Can't Patch

  • Segment affected devices on isolated network VLAN
  • Implement strict firewall rules to block all inbound traffic to device management interface

🔍 How to Verify

Check if Vulnerable:

Check firmware version in device web interface under System Status or Administration section

Check Version:

curl -s http://device-ip/ | grep -i firmware

Verify Fix Applied:

Verify firmware version has been updated to a version later than 1.01B01

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /formSysLog endpoint
  • Large payloads in HTTP requests
  • Multiple failed login attempts followed by formSysLog access

Network Indicators:

  • HTTP POST requests to /formSysLog with oversized submit-url parameter
  • Unusual outbound connections from device after exploitation

SIEM Query:

source="web_logs" AND uri="/formSysLog" AND method="POST" AND size_bytes>1000

🔗 References

📤 Share & Export