| 标题 | TRENDnet TEW-635BRM V1.00.03 Stack-based Buffer Overflow |
|---|
| 描述 | The /sbin/rc binary of the TRENDnet TEW-635BRM router contains a stack buffer overflow vulnerability in the start_httpd function. The function retrieves the NVRAM variable device_name via nvram_scm_safe_get() and copies it directly into a fixed-size stack buffer using strcpy() — with no length validation whatsoever. Because the start of this buffer sits only 136 bytes below the saved return address ($ra), any device_name value longer than 136 bytes overwrites $ra, causing start_httpd to crash and preventing the web service (mini_httpd) from starting. A precisely crafted payload can hijack the control flow and achieve remote code execution (RCE). |
|---|
| 来源 | ⚠️ https://github.com/glkfc/IoT-Vulnerability/blob/main/TRENDnet/TRENDnet_TEW635BRM_device_name_BOF_EN.md |
|---|
| 用户 | jfkk (UID 79868) |
|---|
| 提交 | 2026-05-27 05時35分 (2 月前) |
|---|
| 管理 | 2026-07-11 12時02分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 377787 [Trendnet TEW-635BRM 直到 1.00.03 Web Service /sbin/rc start_httpd device_name 内存损坏] |
|---|
| 积分 | 20 |
|---|