Date: 30 June 2008
Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
===========================================================================
AUSCERT External Security Bulletin Redistribution
ESB-2007.0804 -- [Win][UNIX/Linux]
Two Security Vulnerabilities in the bzip2(1) Command may Allow the
Permissions of Arbitrary Files to be Modified or Allow for
Arbitrarily Large Files to be Created
30 June 2008
===========================================================================
AusCERT Security Bulletin Summary
---------------------------------
Product: bzip2
Publisher: Sun Microsystems
Operating System: UNIX variants (UNIX, Linux, OSX)
Windows
Impact: Inappropriate Access
Denial of Service
Access: Existing Account
Remote/Unauthenticated
CVE Names: CVE-2005-1260 CVE-2005-0953
Original Bulletin:
http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-200191-1
http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-103118-1
Comment: This advisory references vulnerabilities in products which run on
platforms other than Solaris. It is recommended that administrators
running bzip2 check for an updated version of the software for
their operating system.
This bulletin describes two different vulnerabilities in bzip2.
The first may allow a user access to files when logs are rotated,
if those logs are in a world writable directory. Log rotation is
normally performed at a predictable time by root.
Revision History: June 30 2008: Resolved bu Sun
October 18 2007: Initial Release
- --------------------------BEGIN INCLUDED TEXT--------------------
Solution Type: Sun Alert
Solution 200191 : Two Security Vulnerabilities in the bzip2(1)
Command may Allow the Permissions of Arbitrary Files to be Modified or
Allow for Arbitrarily Large Files to be Created
Previously Published As: 103118
Bug ID: 6353235
Product
Solaris 9 Operating System
Solaris 10 Operating System
Solaris 8 Operating System
Date of Workaround Release: 16-OCT-2007
Date of Resolved Release: 27-Jun-2008
SA Document Body
A security vulnerability in the bzip2(1) command (see below for details)
1. Impact
A security vulnerability in the bzip2(1) command may allow a local
unprivileged user to be able to read or modify files owned by another
local user who invokes bzip2(1) to either compress or decompress files
in a world writable directory. This could include system files if
bzip2(1) is issued by a privileged user. [CVE-2005-0953]
A second security vulnerability in the bzip2(1) command may allow
arbitrarily large files to be created when decompressing specially
crafted bzip2(1) archives which may exhaust disk space and could cause
a Denial of service (DoS). [CVE-2005-1260]
These issues are described in the following documents:
CVE-2005-0953 at:
* http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0953
CVE-2005-1260 at:
* http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1260
2. Contributing Factors
These issues can occur in the following releases:
SPARC Platform
* Solaris 8 without patch 138441-01
* Solaris 9 without patch 114586-02
* Solaris 10 without patch 126868-01
x86 Platform
* Solaris 8 without patch 138442-01
* Solaris 9 without patch 114587-02
* Solaris 10 without patch 126869-02
Note 1: The file modification issue (CVE-2005-0953) only affects
versions of bzip2(1) prior to 1.0.4.
Note 2: The arbitrarily large file issue (CVE-2005-1260) only affects
versions of bzip2(1) prior to 1.0.3.
Note 3: The version of bzip2(1) on a system can be determined by
running the following command:
$ bzip2 --version
bzip2, a block-sorting file compressor. Version 1.0.4, 20-Dec-2006.
[...]
3. Symptoms
If the file modification issue (CVE-2005-0953) has occurred, one or
more files owned by the user who issued the bzip2(1) command would
have their permissions changed.
The symptom of the arbitrarily large file issue (CVE-2005-1260) is the
bzip2(1) command taking a long amount of time and the output file
continuously growing in size.
4. Workaround
The file modification issue (CVE-2005-0953) can be avoided by not
compressing or decompressing files using bzip2(1) in world writable
directories.
The arbitrarily large file issue (CVE-2005-1260) can be avoided by
only decompressing bzip2(1) files from trusted sources.
5. Resolution
These issues are addressed in the following releases:
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
Modification History
27-Jun-2008: Updated Contributing Factors and Resolution sections. Resolved.
Attachments
This solution has no attachment
Would you recommend this Sun site to a friend or colleague?
[Select -->.........]
Submit
Contact About Sun News & Events Employment Site Map
Privacy Terms of Use Trademarks Copyright Sun Microsystems,
Inc. | SunSolve Version 7.0.5 (prod build #2)
References
1. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0953
2. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1260
3. http://www.sun.com/contact/
4. http://www.sun.com/aboutsun/index.html/
5. http://www.sun.com/aboutsun/media/index.html
6. http://www.sun.com/corp_emp/
7. http://www.sun.com/sitemap/
8. http://www.sun.com/privacy/
9. http://www.sun.com/share/text/termsofuse.html
10. http://www.sun.com/suntrademarks/
- --------------------------END INCLUDED TEXT--------------------
You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.
NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members. As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.
NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.
Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.
Previous advisories and external security bulletins can be retrieved from:
http://www.auscert.org.au/render.html?cid=1980
If you believe that your computer system has been compromised or attacked in
any way, we encourage you to let us know by completing the secure National IT
Incident Reporting Form at:
http://www.auscert.org.au/render.html?it=3192
===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072
Internet Email: auscert@auscert.org.au
Facsimile: (07) 3365 7031
Telephone: (07) 3365 4417 (International: +61 7 3365 4417)
AusCERT personnel answer during Queensland business hours
which are GMT+10:00 (AEST).
On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967
iQCVAwUBSGg6SSh9+71yA2DNAQJxwQP/U4It3Y1RPt0oWOA/hBinAlCdwwpfmADO
MPyVvA47PSQ21VJiwctJZz8DSwjqdhVQTFGrCzLkZFAX5or0VmwY2it20U7H8MXH
5E3Sb9f0pnnZCsq6LGXjTxzd7TxcO4ln6RCd67rH1f465E9SjeKbJ+ABqntjeJnC
z7MsqIgf+eo=
=4Bqu
-----END PGP SIGNATURE-----
|