Description
GNU locate in findutils 4.1 on Slackware 7.1 and 8.0 allows local users to gain privileges via an old formatted filename database (locatedb) that contains an entry with an out-of-range offset, which causes locate to write to arbitrary process memory.
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.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- GNU findutils 4.0/4.1 - Locate Arbitrary Command Execution EDB-21043 · local · Aug 1, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- locate-command-execution(6932) vdb-entry
- 3127 vdb-entry
- 20010801 Slackware 8.0, 7.1 Vulnerability: /usr/bin/locate mailing-list
- 5477 vdb-entry