8159 : Solaris vold Insecure Temporary File Creation
Printer | http://osvdb.org/8159 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
7 1362 about 9 years ago over 5 years ago 0 times 90%

Timeline

Disclosure Date
1996-07-06

Description

Solaris vold(1M) daemon contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when removable media devices are installed/configured and the program creates temporary files. It's possible to cause vold to create or overwrite arbitrary commands on the file system, leading to a loss of integrity.

Classification

Location: Local Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Unknown

Solution

Upgrade to Solaris version 2.6 or higher, as it has been reported to fix this vulnerability.

Sun Microsystems. Inc have released the following suite of patches to address this vulnerability:

Solaris 2.4: 101907-14
Solaris 2.4_x86: 101908-14
Solaris 2.5: 104015-01
Solaris 2.5_x86: 104016-01
Solaris 2.5.1: 104010-01
Solaris 2.5.1_x86: 104011-01

Sites that do not require the vold functionality should remove the complete set of Volume Management packages. These are SUNWvolg, SUNWvolu and SUNWvolr.
These packages can be removed using pkgrm(1M).

Alternatively, to prevent rmmount(1M) creating temporary files, sites must edit the /etc/rmmount.conf file and comment out (or remove) any entry which references action_filemgr.so.

The standard /etc/rmmount.conf contains the following entries which must be commented out (or deleted) to remove this vulnerability:

action cdrom action_filemgr.so
action floppy action_filemgr.so

After applying this workaround, an example of /etc/rmmount.conf may look like:

# @(#)rmmount.conf 1.2 92/09/23 SMI
#
# Removable Media Mounter configuration file.
#

# File system identification
ident hsfs ident_hsfs.so cdrom
ident ufs ident_ufs.so cdrom floppy pcmem
ident pcfs ident_pcfs.so floppy pcmem

# Actions
#
# Following two lines commented out to remove vold vulnerability
#
# action cdrom action_filemgr.so
# action floppy action_filemgr.so

Note that vold does not have to be restarted for these changes to take effect.

Products

Sun Microsystems, Inc.
Solaris
2.4
2.5
2.5.1
Solaris x86
2.4
2.5
2.5.1

References

Credit

Unknown or Incomplete

CVSSv2 Score

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

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_2 Integrity_impact_2 Availability_impact_2

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