6095 : Multiple BSD exec C File Descriptor Privilege Escalation
Printer | http://osvdb.org/6095 | Email This | Edit Vulnerability

Views This Week

1

Views All Time

51

Info

Last Modified

6 months ago

Percent Complete

100%

Disclosure

Apr 22, 2002

Discovery

Unknown

Dates

Exploit

Apr 23, 2002

Solution

Unknown

Description

BSD-based kernels contain a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when the kernel does not check to ensure that the C library standard I/O file descriptors 0-2 are valid open files before exec()ing setuid images. This flaw may lead to a loss of integrity.

Classification

Location: Local Access Required
Attack Type: Input Manipulation, Race Condition
Impact: Loss of Integrity
Exploit: Exploit Available
Disclosure: OSVDB Verified

Solution

Upgrade to version FreeBSD (4.5-STABLE dated 2002-04-21 or later) or the latest RELENG_4_5 (4.5-RELEASE-p4) or RELENG_4_4 (4.4-RELEASE-p11) security branches (dated 2002-04-21 or later), as it has been reported to fix this vulnerability. Also, FreeBSD has released a patch.

OpenBSD has released a patch.

Currently, there are no known upgrades, patches, or workarounds available for Sun and Compaq platforms to correct this issue.

Products

Hewlett-Packard Development Company, L.P.
Watch-list
Tru64
Watch-list
4.0
5.0
5.1
FreeBSD Project
Watch-list
FreeBSD
Watch-list
4.4
4.5
4.6
OpenBSD
Watch-list
OpenBSD
Watch-list
2.0
2.1
2.2
2.3
Sun Microsystems, Inc.
Watch-list
Solaris
Watch-list
2.5.1
2.6
7.0
8.0

References

Credit

  • Joost Pol - joostBrand New Doo Doopine.nl -

Blogs

None found at this time

Comments

Anonymous - 2007/04/20 08:09:26

First: the securityfocus links in the references section are dead.

Also, I dont believe that OpenBSDD was vulnerable in this instance. In fact, Theo argues that Joost may have found this vulnerability when he stumbled across OpenBSDs 1998 fix for it:
<http://archives.neohapsis.com/archives/bugtraq/2002-04/0304.html>

However, on May 9 there was a problem found with OpenBSDs fix:
<http://archives.neohapsis.com/archives/bugtraq/2002-05/0066.html>

You have the vulns noted on May 9 as separate vulnerabilities: OSVDB 5114 and 5715. I think they are, indeed, separate.

So, I think OpenBSD might ought be removed from this entry. Im not sure, but I thought Id share my thoughts with you!

Cheers,
Andy


DONATE NOW!

User Status

Quick Searches

Advertisements

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 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use