| Título | Tenda FH1201 1.2.0.19(946) Insufficient Verification of Data Authenticity (CWE-345) |
|---|
| Descrição | Arbitrary configuration import (marker-line-only validation)
An insufficient verification vulnerability was discovered in Tenda FH1201 firmware v1.2.0.19(946).
The configuration import handler /cgi-bin/UploadCfg validates the uploaded file only by searching for
the literal line "Default" (the source comment reads: the word of "Default" must not be removed);
there is no signature, checksum, key whitelist or length validation, and because authSecurityHandler
exempts URLs containing login.asp the endpoint is reachable without credentials. An accepted upload is
written verbatim to /var/default.cfg and applied with system("cfm Upload") before the device redirects
to direct_reboot.asp, i.e. it reboots to activate the attacker configuration. Reproduction: a
79-byte file containing a comment line, the word Default and one arbitrary key is accepted (HTTP 302,
Location //direct_reboot.asp), whereas random bytes or a file without that line are rejected with
error.asp?2002; strace shows open("/var/default.cfg", O_WRONLY|O_CREAT|O_TRUNC) and
execve("/bin/sh", {"sh","-c","cfm Upload"}). An unauthenticated attacker can therefore replace
administrator credentials, wireless settings, DNS and remote-management options, which persist across
reboots. Proposed CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (6.5, conservative pending physical
device confirmation). Discovered by Zimo-666 via rehosting, strace and content-controlled uploads. |
|---|
| Fonte | ⚠️ https://github.com/dujiaode/FH1201_CVE/tree/main/04-config-import-no-integrity |
|---|
| Utilizador | qsc19995 (UID 102748) |
|---|
| Submissão | 04/11/2026 14h28 (há 24 dias) |
|---|
| Moderação | 28/11/2026 16h22 (24 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 445108 [Tenda FH1201 1.2.0.19(946) /bin/httpd UploadCfg Autenticação fraca] |
|---|
| Pontos | 20 |
|---|