| Título | Tenda FH1201 1.2.0.19(946) Buffer Overflow - Out-of-bounds Write / Stack-based Buffer Overf |
|---|
| Descrição | re-authentication stack overflow in the login handler (`mitUSERNAME`)
A stack-based buffer overflow was discovered in Tenda FH1201 firmware v1.2.0.19(946) inside the
authentication handler itself. authSecurityHandler runs for every request, reads the form fields
mitUSERNAME, mitPASSWORD and usertype, and copies the user name into a fixed stack buffer with strcpy
before performing any credential comparison (it also stores sys.usertype in nvram before
authentication; the routine belongs to the single-user login code added by the 2026-07-13 security
update that fixed CVE-2026-11405). A single unauthenticated POST /login/Auth with a 2000-byte
mitUSERNAME therefore
corrupts the stack and stops the web server; the connection is reset and the management interface no
longer answers until the device is restarted. Reproduction: a normal login with mitUSERNAME=admin
returns HTTP 302 and the server keeps serving, while the same request with a 2000-byte user name
(the frame is 808 bytes, the destination buffer is at fp-732 and the saved return address at fp+804,
i.e. 1536 bytes away) makes the process enter its Bad_Sig_entry signal loop and stop serving. A
1539-byte payload aligned on the return address still crashes identically for both an unmapped and an
executable target, so the process dies before the epilogue and only denial of service is claimed. No
credentials, no bypass and no prior request are required, so every deployment of this firmware is
affected. Proposed CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (6.5). Discovered by Zimo-666 via
rehosting, static analysis of authSecurityHandler and length-controlled requests. |
|---|
| Fonte | ⚠️ https://github.com/dujiaode/FH1201_CVE/tree/main/05-login-username-strcpy |
|---|
| Utilizador | qsc19995 (UID 102748) |
|---|
| Submissão | 04/11/2026 14h29 (há 24 dias) |
|---|
| Moderação | 28/11/2026 16h22 (24 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 445109 [Tenda FH1201 1.2.0.19(946) Login Authentication /bin/httpd authSecurityHandler mitUSERNAME Excesso de tampão] |
|---|
| Pontos | 20 |
|---|