3836 : Multiple BSD shmat() Privilege Escalation
Printer | http://osvdb.org/3836 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
5 741 over 8 years ago over 4 years ago 0 times 90%

Timeline

Discovery Date Disclosure Date
2004-02-01 2004-02-05

Description

BSD contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when two separate mappings are created with shmat(2) to a shared memory segment created with shmget(2). If shmat(2) is abused and then one of the mappings delected with shmdt(2) the vm_object will continue to map to the shared memory segment. An suid binary may reuse the vm_object and allow the (non-root) user to write directly to the stack segment of the suid binary. This flaw may lead to a loss of integrity of the system.

Classification

Location: Local Access Required
Attack Type: Infrastructure
Impact: Loss of Integrity
Exploit: Exploit Rumored
OSVDB: Web Related

Solution

Upgrade to the current slice the BSD distribution as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing vendor supplied patches.

Products

FreeBSD Project
Watch-list
FreeBSD
Watch-list
2.2.0
4.0
5.0
NetBSD Foundation, Inc.
Watch-list
NetBSD
Watch-list
1.3
OpenBSD
Watch-list
OpenBSD
Watch-list
2.6
3.3
3.4

References

Tools & Filters

12614

Credit

Unknown or Incomplete

CVSSv2 Score

CVSSv2 Base Score = 4.6
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

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