NetBSD kernfs kernfs_xread() kernel memory disclosure
| netbsd-kernfs-memory-disclosure (24035) |
Description:
Multiple versions of NetBSD and OpenBSD could allow a local attacker to obtain sensitive information, caused by a vulnerability in the kernfs_xread() function. A local attacker could exploit this vulnerability using the lseek() system call to read portions of the kernel memory and possibly gain elevated privileges.
Platforms Affected:
- NetBSD, NetBSD 1.6
- NetBSD, NetBSD 1.6 beta
- NetBSD, NetBSD 1.6.1
- NetBSD, NetBSD 1.6.2
- NetBSD, NetBSD 2.0
- NetBSD, NetBSD 2.0.1
- NetBSD, NetBSD 2.0.2
- NetBSD, NetBSD 2.0.3
- NetBSD, NetBSD 2.1
- OpenBSD, OpenBSD 3.8
Remedy:
Refer to NetBSD Security Advisory 2006-001 for patch or upgrade information. See References.
Consequences:
Obtain Information
References:
- Full-Disclosure Mailing List, Thu Feb 02 2006 - 14:40:47 CST, [SLAB] NetBSD / OpenBSD kernfs_xread patch evasion at http://archives.neohapsis.com/archives/fulldisclosure/2006-02/0012.html.
- NetBSD Security Advisory 2006-001, Kernfs kernel memory disclosure at http://archives.neohapsis.com/archives/bugtraq/2006-01/0116.html.
- BID-16173: Multiple Vendor KernFS LSEEK Local Kernel Memory Disclosure Vulnerability
- CVE-2006-0145: The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly validate file offsets against negative 32-bit values that occur as a result of truncation, which allows local users to read arbitrary kernel memory and gain privileges via the lseek system call.
- OSVDB ID: 22293: Multiple BSD kernfs lseek(2) Function Arbitrary Memory Disclosure
- SA18388: NetBSD Kernfs Kernel Memory Disclosure Vulnerability
- SA18712: OpenBSD Kernfs Kernel Memory Disclosure Vulnerability
Reported:
Jan 09, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. 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 author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
