6073 : OpenSSH on FreeBSD libutil Arbitrary File Read
Printer | http://osvdb.org/6073 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
14 671 over 8 years ago over 4 years ago 0 times 90%

Timeline

Disclosure Date Exploit Publish Date
2001-09-20 2001-09-20

Description

OpenSSH on FreeBSD platforms contains a flaw that may lead to an unauthorized information disclosure. The issue is triggered when the user sets welcome or copyright file parameters to system-sensitive files in their login.conf, which will disclose the contents of those files to that user, resulting in a loss of confidentiality.

Classification

Location: Local Access Required
Attack Type: Information Disclosure, Input Manipulation, Misconfiguration
Impact: Loss of Confidentiality
Exploit: Exploit Public
Disclosure: OSVDB Verified

Technical

OpenSSH's libutil fails to correctly drop privileges before interacting with the login class capability database. This is especially problematically coded in session.c, as this error allows users to read ANY file in system with superuser privileges by defining either of:

default:\
:copyright=/etc/master.passwd:
:welcome=/etc/master.passwd:

in the user's ~/.login_conf. (Substitute the file of your choice for /etc/master.passwd, although that would obviously be a popular choice.)

Solution

Upgrade to version 4.4-RELEASE or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by applying the vendor-supplied patch.

Products

FreeBSD Project
Watch-list
FreeBSD
Watch-list
3.x
4.0x
4.1x
4.2x
4.3x
4.4-RC

References

Credit

  • Przemyslaw Frasunek - venglinfreebsd.lublin.pl - Przemyslaw Frasunek

CVSSv2 Score

CVSSv2 Base Score = 2.1
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_0 Availability_impact_0

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and 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 copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use