{"uuid": "18d9f327-9194-4cb0-830c-508af613f7e2", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2019-19726", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/openbsd/local/dynamic_loader_chpass_privesc.rb", "content": "{\"actions\": [], \"aliases\": [], \"arch\": \"cmd\", \"author\": [\"Qualys\", \"bcoles \"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits a vulnerability in the OpenBSD `ld.so`\\n          dynamic loader (CVE-2019-19726).\\n\\n          The `_dl_getenv()` function fails to reset the `LD_LIBRARY_PATH`\\n          environment variable when set with approximately `ARG_MAX` colons.\\n\\n          This can be abused to load `libutil.so` from an untrusted path,\\n          using `LD_LIBRARY_PATH` in combination with the `chpass` set-uid\\n          executable, resulting in privileged code execution.\\n\\n          This module has been tested successfully on:\\n\\n          OpenBSD 6.1 (amd64); and\\n          OpenBSD 6.6 (amd64)\", \"disclosure_date\": \"2019-12-11\", \"fullname\": \"exploit/openbsd/local/dynamic_loader_chpass_privesc\", \"is_install_path\": true, \"mod_time\": \"2023-02-02 18:17:02 +0000\", \"name\": \"OpenBSD Dynamic Loader chpass Privilege Escalation\", \"needs_cleanup\": true, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/openbsd/local/dynamic_loader_chpass_privesc.rb\", \"platform\": \"BSD,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"openbsd/local/dynamic_loader_chpass_privesc\", \"references\": [\"CVE-2019-19726\", \"EDB-47780\", \"URL-https://blog.qualys.com/laws-of-vulnerabilities/2019/12/11/openbsd-local-privilege-escalation-vulnerability-cve-2019-19726\", \"URL-https://www.qualys.com/2019/12/11/cve-2019-19726/local-privilege-escalation-openbsd-dynamic-loader.txt\", \"URL-https://www.openwall.com/lists/oss-security/2019/12/11/9\", \"URL-https://github.com/bcoles/local-exploits/blob/master/CVE-2019-19726/openbsd-dynamic-loader-chpass\", \"URL-https://ftp.openbsd.org/pub/OpenBSD/patches/6.6/common/013_ldso.patch.sig\"], \"rport\": null, \"session_types\": [\"shell\"], \"targets\": [\"Automatic\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:29.273757Z"}