{"uuid": "4af67592-1ccc-4d18-9d1a-64752ae1cb5d", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2023-50445", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/glinet_unauth_rce_cve_2023_50445.rb", "content": "{\"aliases\": [], \"arch\": \"cmd, mipsle, mipsbe, armle, aarch64\", \"author\": [\"h00die-gr3y \", \"Unknown\", \"DZONERZY\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"A command injection vulnerability exists in multiple GL.iNet network products, allowing an attacker\\n          to inject and execute arbitrary shell commands via JSON parameters at the `gl_system_log` and `gl_crash_log`\\n          interface in the `logread` module.\\n          This exploit requires post-authentication using the `Admin-Token` cookie/sessionID (`SID`), typically stolen\\n          by the attacker.\\n          However, by chaining this exploit with vulnerability CVE-2023-50919, one can bypass the Nginx authentication\\n          through a `Lua` string pattern matching and SQL injection vulnerability. The `Admin-Token` cookie/`SID` can be\\n          retrieved without knowing a valid username and password.\\n\\n          The following GL.iNet network products are vulnerable:\\n          - A1300, AX1800, AXT1800, MT3000, MT2500/MT2500A: v4.0.0 &lt; v4.5.0;\\n          - MT6000: v4.5.0 - v4.5.3;\\n          - MT1300, MT300N-V2, AR750S, AR750, AR300M, AP1300, B1300: v4.3.7;\\n          - E750/E750V2, MV1000: v4.3.8;\\n          - X3000: v4.0.0 - v4.4.2;\\n          - XE3000: v4.0.0 - v4.4.3;\\n          - SFT1200: v4.3.6;\\n          - and potentially others (just try ;-)\\n\\n          NOTE: Staged Meterpreter payloads might core dump on the target, so use stage-less Meterpreter payloads\\n          when using the Linux Dropper target.\", \"disclosure_date\": \"2023-12-10\", \"fullname\": \"exploit/linux/http/glinet_unauth_rce_cve_2023_50445\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 16:12:31 +0000\", \"name\": \"GL.iNet Unauthenticated Remote Command Execution via the logread module.\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\", \"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/glinet_unauth_rce_cve_2023_50445.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/http/glinet_unauth_rce_cve_2023_50445\", \"references\": [\"CVE-2023-50445\", \"CVE-2023-50919\", \"URL-https://attackerkb.com/topics/3LmJ0d7rzC/cve-2023-50445\", \"URL-https://attackerkb.com/topics/LdqSuqHKOj/cve-2023-50919\", \"URL-https://libdzonerzy.so/articles/from-zero-to-botnet-glinet.html\", \"URL-https://github.com/gl-inet/CVE-issues/blob/main/4.0.0/Using%20Shell%20Metacharacter%20Injection%20via%20API.md\"], \"rport\": 443, \"session_types\": false, \"targets\": [\"Unix Command\", \"Linux Dropper\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:36.124324Z"}