POST /cgi-bin/UploadCfg imports a configuration file. Its only integrity check is that the uploaded text contains the literal line Default (the source says #The word of "Default" must not be removed ). There is no signature, checksum, key whitelist or length validation, and the endpoint is reachable without credentials through the login.asp authentication bypass. A 79-byte attacker-authored file is accepted, written verbatim to /var/default.cfg , applied with cfm Upload and followed by a reboot.
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: Missing Authentication for Critical Function ( CWE-306 ) + Insufficient Verification of Data Authenticity ( CWE-345 )
Component: bin/httpd → webs_Tenda_CGI_BIN_Handler → webCgiDoUpload → UploadCfg()
Root cause: the handler reads the multipart upload and validates it with a marker only; on success it stores the file and delegates the apply step to the config manager:
Validation matrix (dynamically measured):
Proof of Concept (non-destructive variant: no configuration change beyond a marker key)
Control (same endpoint, no bypass suffix): 302 /login.asp — i.e. the handler is authenticated by design, and the bypass is what makes the attack unauthenticated.
-strace evidence for the accepted request:
The file on disk was byte-identical to the upload (79 bytes).
An unauthenticated attacker can replace the device configuration : administrator credentials, wireless SSID/passphrase, DNS/DHCP settings, remote-management flags, port forwards, etc. The configuration persists across reboots, so this is a persistent compromise primitive.
The import always ends in a reboot ( direct_reboot.asp ), which is an availability impact.
Writing an inconsistent configuration can render the device unusable until a hardware reset.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N — 6.5 (conservative) Rationale: the acceptance, verbatim storage and cfm Upload invocation were verified; whether the configuration reaches flash on real hardware could not be observed in emulation (no MTD), therefore availability/integrity are scored on the verified parts only. Physical-device confirmation would justify A:L (7.1) or, if a full administrative takeover is demonstrated, 8.8.
Discovered by Zimo-666 on 2026-10-17 via rehosting, -strace and content-controlled uploads. Vendor notified: pending.
