Three weak design decisions combine into a fully unauthenticated exploit chain in the Tenda FH1201: the login page discloses the current administrator password, the password-change handler accepts it through the authentication bypass and stores an arbitrarily long sys.username , and the manufacturing handler copies that value into a 128-byte stack buffer without a length check . A 263-byte payload overwrites the saved return address; execution can be redirected to any address inside httpd (verified).
Vendor: Tenda · Product: FH1201 · Firmware: V1.2.0.19(946) (latest, 2026-07-13)
Vendor: Tenda · Product: FH1201 · Firmware: V1.2.0.19(946) (latest, 2026-07-13)
Status: the vendor lists FH1201 V1.0 as end-of-life (discontinued 2015) yet published firmware V1.2.0.19(946) on 2026-07-13 as a security update for CVE-2026-11405
Status: the vendor lists FH1201 V1.0 as end-of-life (discontinued 2015) yet published firmware V1.2.0.19(946) on 2026-07-13 as a security update for CVE-2026-11405
Vulnerability Details
Type: Stack-based Buffer Overflow ( CWE-121 ); Missing Authentication ( CWE-306 ) and Insufficiently Protected Credentials ( CWE-522 ) as enablers
Components: bin/httpd → fromSysToolChangePwd() ( 0x00479110 ), TendaAte() ( 0x0045c25c ), and the nvram accessors SetValue() / GetValue() (libCfm)
Step 1 — password disclosure on the unauthenticated login page
/login.asp is static HTML that embeds the current password so the page can pre-fill the field:
The rendered page contains the base64 form of the administrator password. No credentials required.
Step 2 — unbounded nvram write through the password change handler
POST /goform/SysToolChangePwd/login.asp (reachable via the login.asp bypass of advisory 01) verifies mitOldPASSWORD against the stored password and then:
Step 3 — unbounded read into a 128-byte stack buffer
GET /goform/ate (authentication-exempt, advisory 02) reaches TendaAte() , whose frame is:
followed by GetValue("sys.username", bufA) — an unbounded strcpy into a 128-byte buffer. The saved return address is therefore at offset 260 from the start of the value.
Proof of Concept (non-destructive: no persistent change is left, the device is rebooted)
Verified behaviour (two payloads differing only in the last three bytes):
That differential demonstrates precise return-address control . (The same experiment performed through the password-change handler instead of TendaAte shows only a crash, because intermediate live locals are corrupted before the epilogue — documented in docs/root-cause.md .)
Verified : unauthenticated memory corruption of the web server, which stops serving ( httpd is the main process; on the device the web/management interface becomes unavailable until reboot). Return-address control is proven, so arbitrary code execution is reachable in principle; a full RCE payload was not completed (the value cannot contain NUL bytes, which constrains the target address space to 0x00xxxxxx ).
The chain requires no credentials and no user interaction , and leaves no persistent change other than the modified user name.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H — 6.5 Rationale: scored on the verified effect (pre-authentication denial of service); the verified return-address control suggests a higher impact but code execution was not demonstrated, so the score stays conservative.
Discovered by Zimo-666 on 2026-10-17 via rehosting, frame-layout analysis and differential crash/exit experiments. Vendor notified: pending.
