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.
*CVSS:
| Base Score: | 2.5 |
| Access Vector: | Local |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | None |
| Availability Impact: | None |
| Temporal Score: | 1.8 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Obtain Information
Remedy:
Refer to NetBSD Security Advisory 2006-001 for patch or upgrade information. See References.
References:
- Full-Disclosure Mailing List, Thu Feb 02 2006 - 14:40:47 CST: [SLAB] NetBSD / OpenBSD kernfs_xread patch evasion.
- NetBSD Security Advisory 2006-001: Kernfs kernel memory disclosure.
- 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
Platforms Affected:
- NetBSD NetBSD 1.6 beta
- NetBSD NetBSD 1.6
- 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
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
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
