FreeBSD libutil in OpenSSH fails to drop privileges prior to using the login class capability database

bsd-libutil-privilege-dropping (8697) The risk level is classified as MediumMedium Risk


The libutil library fails to drop privileges properly before using the login class capability database. A local attacker could exploit this vulnerability by specifying different "welcome" or "copyright" files in ~/.login_conf to read arbitrary files on the system with superuser privileges.


Obtain Information


Upgrade to the latest version of FreeBSD (4.5-RELEASE or later), available from the FreeBSD FTP site. See References.


Platforms Affected:

  • FreeBSD FreeBSD 4.1
  • FreeBSD FreeBSD 4.1.1
  • FreeBSD FreeBSD 4.2
  • FreeBSD FreeBSD 4.3
  • FreeBSD FreeBSD 4.4


Sep 20, 2001

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page