20725 : NetBSD Verified exec Failure
Printer | http://osvdb.org/20725 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
4 363 over 6 years ago over 3 years ago 0 times 85%

Timeline

Disclosure Date
2005-10-31

Description

NetBSD contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when verified exec allows a malicious user to execute specially crafted binaries. This flaw may lead to a loss of integrity.

Classification

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

Technical

Verified exec uses the namei interface. The namei interface is used to convert pathnames to file system vnodes. The namei interface contains a function named NDINIT, which initialises a nameidata structure pointed to by ndp for use by the namei interface. The NDINIT function fails to use UIO_SYSSPACE. As a result, characters are copied from a user address rather than a kernel address.

Specifically, in the verifiedexecioctl() function in sys/dev/verified_exec.c, UIO_USERSPACE should have been UIO_SYSSPACE.

Solution

Upgrade to version 2.0.3 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

NetBSD Foundation, Inc.
Watch-list
NetBSD
Watch-list
2.0
2.0.1
2.0.2

References

Credit

Unknown or Incomplete

CVSSv2 Score

CVSSv2 Base Score = 3.6
Source: nvd.nist.gov | Generated: 2006-04-28 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_0

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

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 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use