1536 : FreeBSD Linux Compatibility Mode Buffer Overflow
Printer | http://osvdb.org/1536 | Email This | Edit Vulnerability

Views This Week

2

Views All Time

68

Info

Last Modified

10 months ago

Percent Complete

100%

Disclosure

Aug 28, 2000

Discovery

Unknown

Dates

Exploit

Unknown

Solution

Unknown

Description

A local overflow exists in FreeBSD. The linux compatibility module fails to valid input resulting in a buffer overflow. With a specially crafted request, an attacker can cause cause values on the stack to be overwritten to gain root privileges resulting in a loss of integrity.

Classification

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

Solution

Upgrade to version 3.5-STABLE, 4.1-STABLE or 5.0-CURRENT after the respective correction dates, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s): unload the "linux" module by executing the following
command as root:

#kldunload linux

For safety, remove the /modules/linux.ko file to prevent it being
reloaded accidentally, and add or change the following line in
/etc/rc.conf:

linux_enable="NO" # Linux binary compatibility loaded at startup (or NO).

If the module is not loaded, to determine whether the functionality
has been statically compiled into the kernel, check the kernel
configuration file for the following line:

options COMPAT_LINUX

If present, remove and recompile the kernel as described in
http://www.freebsd.org/handbook/kernelconfig.html and reboot the
system.

Products

FreeBSD Project
Watch-list
FreeBSD
Watch-list
3.x
5.0
4.x

References

Credit

  • Boris Nikolaus - borisBrand New Doo Doocs.tu-berlin.de -

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