Description
When using the LD_PRELOAD environmental variable in SUID or SGID applications, glibc does not verify that preloaded libraries in /etc/ld.so.cache are also SUID/SGID, which could allow a local user to overwrite arbitrary files by loading a library from /lib or /usr/lib.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- GLIBC 2.1.3 - 'LD_PRELOAD' Local Privilege Escalation EDB-290 · local · Mar 4, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- SuSE-SA:2001:01 vendor-advisory
- DSA-039 vendor-advisory
- linux-glibc-preload-overwrite(5971) vdb-entry
- 2223 vdb-entry
- 20010121 Trustix Security Advisory - glibc mailing-list
- MDKSA-2001:012 vendor-advisory
- RHSA-2001:002 vendor-advisory
- TLSA2000021-2 vendor-advisory
- CSSA-2001-007 vendor-advisory