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.
https://exchange.xforce.ibmcloud.com/vulnerabilities/8697
https://euvd.enisa.europa.eu/vulnerability/EUVD-2001-1010
http://archives.neohapsis.com/archives/bugtraq/2001-09/0173.html