Vulnerability Note VU#358960
BSD i386_set_ldt syscall does not appropriately validate call gate targets
Overview
There are a set of kernel interfaces called "call gates" which are code primitives used to build system-level calls into an operating system's kernel. A subset of these "calls gates" may be able to be manipulated on some operating systems which use improper privilege checking when accessing local descriptor tables (LDTs)
Description
Of specific concern is the syscall "i386_set_ldt" , which accesses a call gate without first validating whether a ring transition to a more privileged segment in the LDT is appropriate. Of special note is an observation shared in the NetBSD security advisory on this issue: |
Impact
A user with access to a local account may gain privileges reserved for the kernel. |
Solution
Apply kernel patches provided by your vendor. |
The fix to NetBSD [for example]: Index: i386/sys_machdep.c |
Systems Affected
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| NetBSD | Vulnerable | 16 Jan 2001 | 20 Apr 2002 |
| OpenBSD | Vulnerable | 19 Jan 2001 | 20 Apr 2002 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- ftp://ftp.netbsd.org/pub/NetBSD/misc/security/advisories/NetBSD-SA2001-002.txt.asc
- http://www.openbsd.org/errata.html#userldt
Credit
This was initially reported by Bill Sommerfeld.
This document was written by Jeff S Havrilla
Other Information
- CVE IDs: Unknown
- Date Public: 16 Feb 2001
- Date First Published: 16 Feb 2001
- Date Last Updated: 02 Mar 2001
- Severity Metric: 7.12
- Document Revision: 7
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.
This product is provided subject to the Notification as indicated here: http://www.us-cert.gov/legal.html#notify