{"uuid": "2ed9a5ba-8d91-4c64-92c5-ddc6391abb35", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2023-28770", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/zyxel_lfi_unauth_ssh_rce.rb", "content": "{\"aliases\": [], \"arch\": \"cmd, mipsbe\", \"author\": [\"h00die-gr3y \", \"SEC Consult Vulnerability Lab\", \"Thomas Rinsma\", \"Bogi Napoleon Wennerstr\\u00f8m\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits multiple vulnerabilities in the `zhttpd` binary (/bin/zhttpd)\\n          and `zcmd` binary (/bin/zcmd). It is present on more than 40 Zyxel routers and CPE devices.\\n          The remote code execution vulnerability can be exploited by chaining the local file disclosure\\n          vulnerability in the zhttpd binary that allows an unauthenticated attacker to read the entire configuration\\n          of the router via the vulnerable endpoint `/Export_Log?/data/zcfg_config.json`.\\n          With this information disclosure, the attacker can determine if the router is reachable via ssh\\n          and use the second vulnerability in the `zcmd` binary to derive the `supervisor` password exploiting\\n          a weak implementation of a password derivation algorithm using the device serial number.\\n\\n          After exploitation, an attacker will be able to execute any command as user `supervisor`.\", \"disclosure_date\": \"2022-02-01\", \"fullname\": \"exploit/linux/http/zyxel_lfi_unauth_ssh_rce\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 13:20:20 +0000\", \"name\": \"Zyxel chained RCE using LFI and weak password derivation algorithm\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\", \"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/zyxel_lfi_unauth_ssh_rce.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/http/zyxel_lfi_unauth_ssh_rce\", \"references\": [\"CVE-2023-28770\", \"URL-https://r.sec-consult.com/zyxsploit\", \"URL-https://sec-consult.com/vulnerability-lab/advisory/multiple-critical-vulnerabilities-in-multiple-zyxel-devices/\", \"URL-https://th0mas.nl/2020/03/26/getting-root-on-a-zyxel-vmg8825-t50-router/\", \"URL-https://github.com/boginw/zyxel-vmg8825-keygen\", \"URL-https://attackerkb.com/topics/tPAvkwQgDK/cve-2023-28770\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"Unix Command\", \"Linux Dropper\", \"Interactive SSH\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:04.868086Z"}