{"uuid": "f95e002d-1a20-46ec-bdf8-e6fa03e150c1", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-1000001", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/glibc_realpath_priv_esc.rb", "content": "{\"actions\": [], \"aliases\": [], \"arch\": \"x86, x64\", \"author\": [\"halfdog\", \"bcoles \"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": true, \"default_credential\": false, \"description\": \"This module attempts to gain root privileges on Linux systems by abusing\\n          a vulnerability in GNU C Library (glibc) version 2.26 and prior.\\n\\n          This module uses halfdog's RationalLove exploit to exploit a buffer\\n          underflow in glibc realpath() and create a SUID root shell. The exploit\\n          has offsets for glibc versions 2.23-0ubuntu9 and 2.24-11+deb9u1.\\n\\n          The target system must have unprivileged user namespaces enabled.\\n\\n          This module has been tested successfully on Ubuntu Linux 16.04.3 (x86_64)\\n          with glibc version 2.23-0ubuntu9; and Debian 9.0 (x86_64) with glibc\\n          version 2.24-11+deb9u1.\", \"disclosure_date\": \"2018-01-16\", \"fullname\": \"exploit/linux/local/glibc_realpath_priv_esc\", \"is_install_path\": true, \"mod_time\": \"2026-05-14 11:43:36 +0000\", \"name\": \"glibc 'realpath()' Privilege Escalation\", \"needs_cleanup\": true, \"notes\": {\"AKA\": [\"RationalLove.c\"], \"Reliability\": [\"unknown-reliability\"], \"SideEffects\": [\"unknown-side-effects\"], \"Stability\": [\"unknown-stability\"]}, \"path\": \"/modules/exploits/linux/local/glibc_realpath_priv_esc.rb\", \"platform\": \"Linux\", \"post_auth\": false, \"rank\": 300, \"ref_name\": \"linux/local/glibc_realpath_priv_esc\", \"references\": [\"BID-102525\", \"CVE-2018-1000001\", \"EDB-43775\", \"URL-https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/\", \"URL-http://www.openwall.com/lists/oss-security/2018/01/11/5\", \"URL-https://securitytracker.com/id/1040162\", \"URL-https://sourceware.org/bugzilla/show_bug.cgi?id=22679\", \"URL-https://usn.ubuntu.com/3534-1/\", \"URL-https://bugzilla.redhat.com/show_bug.cgi?id=1533836\"], \"rport\": null, \"session_types\": [\"shell\", \"meterpreter\"], \"targets\": [\"Auto\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:08.582236Z"}