ZTE ZXHN H298A / H108N Router Unauthenticated Credential Disclosure (CVE-2026-34474)
by minanagehsalalma · 2026-07-05
- Severity
- High
- CVE
- CVE-2026-34474
- Category
- network
- Affected product
- ZTE ZXHN H298A (hardware 1.1) and ZXHN H108N (hardware 2.6) home routers
- Affected versions
- H298A 1.1, H108N 2.6 (both discontinued by ZTE in 2022/2023)
- Disclosed
- 2026-07-05
- Patch status
- unpatched
References
Archive entry
intelseclab/poc-archiveMetadata
| Field | Value |
|---|---|
| Date Added | 2026-07-05 |
| Last Updated | 2026-05 |
| Author / Researcher | minanagehsalalma |
| CVE / Advisory | CVE-2026-34474 |
| Category | network |
| Severity | High |
| CVSS Score | Not specified in source |
| Status | PoC |
| Tags | information-disclosure, router, firmware, unauthenticated, credential-leak, iot, zte, wifi |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | ZTE ZXHN H298A (hardware 1.1) and ZXHN H108N (hardware 2.6) home routers |
| Versions Affected | H298A 1.1, H108N 2.6 (both discontinued by ZTE in 2022/2023) |
| Language / Platform | Python 3 (PoC), target is embedded Lua-based router web management interface |
| Authentication Required | No |
| Network Access Required | Yes |
Summary
CVE-2026-34474 is an unauthenticated information disclosure in the web management interface of ZTE ZXHN H298A and H108N router firmware. A crafted GET request to getpage.lua?pid=1000ÐCheat=1 returns HTML containing the live administrator password, WLAN PSK, and ESSID directly in hidden form fields, with no session or credential check. A companion endpoint, wizard_page/wizard_overETHfail_set_lua.lua, similarly discloses the device serial number to unauthenticated callers. The included PoC scripts issue these requests and parse the returned markup to extract the exposed secrets, effectively handing an attacker both admin and Wi-Fi access to the device.
Vulnerability Details
Root Cause
The ETHCheat=1 parameter branch of getpage.lua returns a diagnostic/setup page that embeds live configuration values (OBJ_USERINFO_IDPassword1, WLANPSK_KeyPassphrase1, WLANAP_ESSID1) as pre-filled form field values without verifying that the requester is authenticated.
Attack Vector
- Send an unauthenticated
GET /getpage.lua?pid=1000ÐCheat=1request to the target router. - Parse the returned HTML for the
OBJ_USERINFO_IDPassword1,WLANAP_ESSID1, andWLANPSK_KeyPassphrase1field values. - Optionally send
GET /wizard_page/wizard_overETHfail_set_lua.luato extract the deviceSerialNumberfrom the returned XML-like structure. - Use the recovered administrator password and WLAN PSK to gain full administrative and wireless access to the router.
Impact
Full compromise of the router’s administrative interface and wireless network by any unauthenticated attacker with network access to the device’s web interface.
Environment / Lab Setup
Target: ZTE ZXHN H298A 1.1 / ZXHN H108N 2.6 router web interface
Attacker: Python 3, aiohttp/requests, colorama
Proof of Concept
PoC Script
See
extract_ethcheat_credentials.pyandcheck_serialnumber_endpoint.pyin this folder.
| |
extract_ethcheat_credentials.py asynchronously queries a list of target routers, requests the ETHCheat=1 diagnostic page and the wizard serial-number endpoint, and prints a color-coded table of recovered admin password, ESSID, WLAN PSK, and serial number per host. check_serialnumber_endpoint.py is a standalone helper that just queries and prints the disclosed serial number for a single target.
Detection & Indicators of Compromise
Signs of compromise:
- Repeated unauthenticated requests to
getpage.luawithETHCheat=1from unfamiliar source IPs - Unexpected administrator logins or Wi-Fi configuration changes shortly after such requests
- Presence of the router’s serial number or credentials in external scanning tool output/logs
Remediation
| Action | Detail |
|---|---|
| Primary fix | No vendor patch confirmed as of 2026-07-05 — ZTE has stated both models are discontinued (2022/2023) and declined vendor-side CVE assignment |
| Interim mitigation | Replace affected end-of-life devices; restrict management interface access to trusted LAN only and disable remote/WAN-facing administration |
References
Notes
Mirrored from https://github.com/minanagehsalalma/cve-2026-34474-zte-h298a-h108n-sensitive-data-exposure on 2026-07-05.
| |