ZERO-DAY ALERT: Automated Discovery of Critical CWMP Stack Overflow in TP-Link Routers
TP-Link路由器AX10/AX1500系列被发现存在未修补的零日漏洞,允许远程代码执行。该漏洞源于CWMP协议中栈溢出问题,研究人员于2024年5月报告给厂商但仍未修复。全球约4247台设备暴露在线。 2025-9-1 02:57:18 Author: www.reddit.com(查看原文) 阅读量:20 收藏

TL;DR: Discovered an unpatched zero-day in TP-Link routers (AX10/AX1500) that allows remote code execution. Reported to TP-Link on May 11th, 2024 - still unpatched. 4,247 vulnerable devices found online.

Used automated taint analysis to find a stack-based buffer overflow in TP-Link's CWMP (TR-069) implementation. The vulnerability exists in function sub_1e294 that processes SOAP SetParameterValues messages.

Key Technical Details:

  • Stack buffer: 3072 bytes

  • PC register overwrite: 3112 bytes (payload: "A"*3108 + "BBBB")

  • Result: pc = 0x42424242 (full control)

  • Canary exploit mitigations

// Vulnerable code pattern
char* result_2 = strstr(s, "cwmp:SetParameterValues");
// Size calculated from user input - BAD PRACTICE
strncpy(stack_buffer, user_data, calculated_size); 
// OVERFLOW!

Exploitation requires setting a malicious CWMP server URL in router config, then device connects and gets pwned.

Affected Models:

  • TP-Link Archer AX10 (all hardware versions V1, V1.2, V2, V2.6)

  • TP-Link Archer AX1500 (identical binary)

  • Potentially: EX141, Archer VR400, TD-W9970

Firmware Versions: 1.3.2, 1.3.8, 1.3.9, 1.3.10 (all vulnerable)

Internet Exposure: 4,247 unique IPs confirmed vulnerable via Fofa search

Router security is often terrible - default passwords, weak configs, other vulns. Getting config access isn't that hard, and setting up a rogue CWMP server is trivial. Once you change the TR-069 server URL, the router connects to your malicious server and you get root.

  • Discovery: January 2025 (automated analysis)

  • Vendor Notification: May 11th, 2024

  • Current Status: Probably Patched

  • Public Disclosure: Now


文章来源: https://www.reddit.com/r/netsec/comments/1n5dil1/zeroday_alert_automated_discovery_of_critical/
如有侵权请联系:admin#unsafe.sh