| Titel | TRENDnet TEW-635BRM V1.00.03 Stack-based Buffer Overflow |
|---|
| Beschreibung | 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). |
|---|
| Quelle | ⚠️ https://github.com/glkfc/IoT-Vulnerability/blob/main/TRENDnet/TRENDnet_TEW635BRM_device_name_BOF_EN.md |
|---|
| Benutzer | jfkk (UID 79868) |
|---|
| Einreichung | 27.05.2026 05:35 (vor 2 Monaten) |
|---|
| Moderieren | 11.07.2026 12:02 (2 months later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 377787 [Trendnet TEW-635BRM bis 1.00.03 Web Service /sbin/rc start_httpd device_name Pufferüberlauf] |
|---|
| Punkte | 20 |
|---|