SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Bzip2 Vendors:   [Multiple Authors/Vendors]
(Sun Issues Fix) bzip2 Race Condition Lets Local Users Modify Permissions of Certain Files
SecurityTracker Alert ID:  1020383
SecurityTracker URL:  http://securitytracker.com/id/1020383
CVE Reference:   CVE-2005-0953   (Links to External Site)
Date:  Jun 30 2008
Impact:   Modification of system information, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.0.2 and prior versions
Description:   A file permission vulnerability was reported in bzip2. A local user can change the permissions of certain files on the target system.

A local user with write access to a directory that the target user is using bzip2 with to extract or compress a file can change the permissions on any file owned by the target user.

When extracting a file, the software applies the permissions of a compressed file to the uncompressed file. However, there is a time period between when the file handle for the uncompressed file is closed and the permissions are changed. A local user can exploit this race condition by replacing the decompressed file with a hardlink to another file on the target system during that time period. The hardlinked file's permissions will be changed to the permissions of the compressed bzip2 file.

Impact:   A local user can cause the permissions on files owned by the target user to be changed when the target user decompresses a file using bzip2.
Solution:   Sun has issued the following fix.

SPARC Platform

* Solaris 8 with patch 138441-01 or later
* Solaris 9 with patch 114586-02 or later
* Solaris 10 with patch 126868-01 or later

x86 Platform

* Solaris 8 with patch 138442-01 or later
* Solaris 9 with patch 114587-02 or later
* Solaris 10 with patch 126869-02 or later

The Sun advisory is available at:

http://sunsolve.sun.com/search/document.do?assetkey=1-66-200191-1

Vendor URL:  sources.redhat.com/bzip2/ (Links to External Site)
Cause:   Access control error, State error
Underlying OS:  UNIX (Solaris - SunOS)
Underlying OS Comments:  8, 9, 10

Message History:   This archive entry is a follow-up to the message listed below.
Apr 2 2005 bzip2 Race Condition Lets Local Users Modify Permissions of Certain Files



 Source Message Contents



[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC