1074 : FreeBSD fts Library Routine Local Overflow
Printer | http://osvdb.org/1074 | Email This | Edit Vulnerability

Views This Week

1

Views All Time

55

Info

Last Modified

10 months ago

Percent Complete

100%

Disclosure

Sep 15, 1999

Discovery

Unknown

Dates

Exploit

Jan 01, 1999

Solution

Unknown

Description

A local overflow exists in FreeBSD. The fts library function fails to check bounds resulting in a buffer overflow. With a specially crafted request, an attacker can cause perodic() to core dump when running its security checking scripts (or other scripts which traverse trees that can be controlled by users) resulting in a privilege escalation and consequent loss of integrity.

Classification

Location: Local Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Available
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

  • Patrick Oonk - patrickBrand New Doo Doopine.nl -

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