6084 : FreeBSD Core Dump Symbolic Link Arbitrary File Modification
Printer | http://osvdb.org/6084 | Email This | Edit Vulnerability

Views This Week

2

Views All Time

52

Info

Last Modified

8 months ago

Percent Complete

90%

Disclosure

Sep 15, 1999

Discovery

Unknown

Dates

Exploit

Unknown

Solution

Unknown

Description

FreeBSD contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when the kernel follows a maliciously created symbolic link during its creation of core files using periodic(3), allowing arbitrary file modification. This flaw may lead to a loss of integrity.

Classification

Location: Local Access Required
Attack Type: Race Condition
Impact: Loss of Integrity
Exploit: Exploit Rumored / Private
Disclosure: OSVDB Verified

Solution

Upgrade to corrected versions 3.2-STABLE or 3.3-RELEASE or higher, as it has been reported to fix this vulnerability. Also, FreeBSD has released a patch. It is also possible to correct the flaw by implementing the following workaround: disable periodic() core dumps by changing core size to zero.

# mv /usr/sbin/periodic /usr/sbin/periodic.bin
# cat > /usr/sbin/periodic
#!/bin/sh
ulimit -c 0
/usr/sbin/periodic.bin $*
^D
# chmod 555 /usr/sbin/periodic

Products

FreeBSD Project
Watch-list
FreeBSD
Watch-list
1.1.5.1
2.x
3.0
3.1
3.2

References

Credit

Unknown or Incomplete

Blogs

None found at this time

Comments

No Comments.

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