2818 : Open UNIX/UnixWare procfs Privilege Escalation
Printer | http://osvdb.org/2818 | Email This | Edit Vulnerability

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

Timeline

Discovery Date Disclosure Date
2003-10-24 2003-11-12

Description

SCO UnixWare 7.1.1, 7.1.3, and Open UNIX 8.0.0 contain a flaw that may allow a malicious local user to escalate their privileges. The issue is that procfs descriptors are handled insecurely. This allows malicious users to bypass the protection on a setuid/setgid file's process address space image ('/proc/$PID/as') and manipulate it. It is possible, because of the flaw, for a local user to run arbitrary code as another local user, resulting in a loss of confidentiality, integrity, and/or availability.

Classification

Unknown or Incomplete

Technical

'/proc/$PID/as' contains the address space image of process $PID. It can be opened and accessed like any other file and be used to manipulate the process. The process owner also owns the 'as' file whose file permission is 600. For obvious reasons this doesn't apply to processes spawned from setuid and setgid binaries. This protection can be bypassed by first obtaining a descriptor to a process you own then let that process execve() a setuid binary. execve() will replace the process image, honor the setuid bit and the descriptor will remain open. Then there is just the matter of finding something interesting to write.

Solution

Upgrade to the latest packages, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

SCO Group, Inc.
Watch-list
Open UNIX
Watch-list
8.0.0
UnixWare
Watch-list
7.1.1
7.1.3

References

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