Description
libutil in OpenSSH on FreeBSD 4.4 and earlier does not drop privileges before verifying the capabilities for reading the copyright and welcome files, which allows local users to bypass the capabilities checks and read arbitrary files by specifying alternate copyright or welcome files.
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
- FreeBSD 4.3/4.4 - Login Capabilities Privileged File Reading EDB-21114 · local · Sep 17, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20010920 Local vulnerability in libutil derived with FreeBSD 4.4-RC (and earlier) mailing-list
- 6073 vdb-entry
- bsd-libutil-privilege-dropping(8697) vdb-entry