| Título | Tenda FH1201 1.2.0.19(946) Buffer Overflow - Out-of-bounds Write / Stack-based Buffer Overf |
|---|
| Descrição | A stack-based buffer overflow was discovered in Tenda FH1201 firmware v1.2.0.19(946) that is
reachable without any credentials through a chain of three weaknesses. First, the unauthenticated page
/login.asp embeds the current administrator password as base64 (def_passwd = str_decode of the
sys.userpass nvram value). Second, the password change handler /goform/SysToolChangePwd, reachable
via the login.asp authentication bypass, verifies that value and then stores the supplied
mitNewUSERNAME with SetValue in nvram without any length limit. Third, the authentication-exempt
handler /goform/ate calls TendaAte(), which copies sys.username into a 128-byte stack buffer with an
unbounded GetValue; the saved return address sits at offset 260 from the start of the value, and the
NUL byte written by strcpy supplies the zero high byte, so a 263-byte value controls ra completely.
Reproduction: leak the hash from /login.asp, store 263 bytes via the change-password handler and
request /goform/ate. A value ending in 41 41 41 crashes the daemon with SIGSEGV, while a value ending
in 60 40 4a (exit@plt) makes it exit cleanly, which proves return-address control; the web server stops
serving in both cases. The NUL-free constraint limits target addresses to 0x00xxxxxx, so a full
code-execution payload was not completed. Proposed CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
(6.5, scored on the verified denial of service). Discovered by Zimo-666 via rehosting, frame layout
analysis and differential crash/exit experiments. |
|---|
| Fonte | ⚠️ https://github.com/dujiaode/FH1201_CVE/tree/main/03-zero-auth-stack-overflow |
|---|
| Utilizador | qsc19995 (UID 102748) |
|---|
| Submissão | 04/11/2026 14h27 (há 24 dias) |
|---|
| Moderação | 28/11/2026 16h22 (24 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 445107 [Tenda FH1201 1.2.0.19(946) /goform/ate TendaAte Excesso de tampão] |
|---|
| Pontos | 20 |
|---|