bzip2 TOCTOU symlink
| bzip2-toctou-symlink (19926) |
Description:
bzip2 could allow a local attacker to launch a symlink attack. If the local attacker has write access to the directory of a user using bzip2, the local attacker could exploit a TOCTOU vulnerability using a symlink to change file permissions of arbitrary files.
*CVSS:
| Base Score: | 2.6 |
| Access Vector: | Local |
| Access Complexity: | High |
| Authentication: | Not Required |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 2.3 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
File Manipulation
Remedy:
Upgrade to the latest version of bzip2 (1.0.3 or later), available from the bzip2 Web page. See References.
For other distributions:
Apply the appropriate update for your system. See References..
References:
- Apple Web site: About the security content of Mac OS X 10.4.11 and Security Update 2007-008.
- BugTraq Mailing List, Wed Mar 30 2005 - 15:38:55 CST : bzip2 TOCTOU file-permissions vulnerability.
- bzip2 Web site: The bzip2 and libbzip2 official home page.
- Conectiva Linux Security Announcement CLSA-2005:972: bzip2 security fixes.
- FreeBSD Security Advisory FreeBSD-SA-05:14.bzip2: bzip2 denial of service and permission race vulnerabilities.
- Sun Alert ID: 103118: 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.
- ASA-2007-451: 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 (Sun 103118)
- BID-12954: bzip2 chmod File Permission Modification Race Condition Weakness
- BID-26444: Apple Mac OS X v10.4.11 2007-008 Multiple Security Vulnerabilities
- CVE-2005-0953: Race condition in bzip2 1.0.2 and earlier allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by bzip2 after the decompression is complete.
- DSA-730: bzip2 -- race condition
- MDKSA-2005:091: Updated bzip2 packages fix multiple vulnerabilities
- MDKSA-2006:026: Updated bzip2 packages fix bzgrep vulnerabilities
- OpenPKG-SA-2005.008: bzip2
- OpenPKG-SA-2005.010: OpenPKG
- OpenPKG-SA-2007.002: bzip2
- RHSA-2005-474: bzip2 security update
- SA27274: Sun Solaris bzip2 Multiple Vulnerabilities
- SA27643: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
Platforms Affected:
- Apple Mac OS X 10.4
- Apple Mac OS X 10.4.1
- Apple Mac OS X 10.4.10
- Apple Mac OS X 10.4.2
- Apple Mac OS X 10.4.3
- Apple Mac OS X 10.4.4
- Apple Mac OS X 10.4.5
- Apple Mac OS X 10.4.6
- Apple Mac OS X 10.4.7
- Apple Mac OS X 10.4.8
- Apple Mac OS X 10.4.9
- Apple Mac OS X Server 10.4
- Apple Mac OS X Server 10.4.1
- Apple Mac OS X Server 10.4.10
- Apple Mac OS X Server 10.4.2
- Apple Mac OS X Server 10.4.3
- Apple Mac OS X Server 10.4.4
- Apple Mac OS X Server 10.4.5
- Apple Mac OS X Server 10.4.6
- Apple Mac OS X Server 10.4.7
- Apple Mac OS X Server 10.4.8
- Apple Mac OS X Server 10.4.9
- Canonical Ubuntu 4.10
- Canonical Ubuntu 5.04
- Conectiva Linux 10
- Conectiva Linux 9.0
- Debian Debian Linux 3.0
- Julian Seward bzip2 1.0.2 and prior
- MandrakeSoft Mandrake Linux 10.0 AMD64
- MandrakeSoft Mandrake Linux 10.0
- MandrakeSoft Mandrake Linux 10.1
- MandrakeSoft Mandrake Linux 10.1 X86_64
- MandrakeSoft Mandrake Linux 2006
- MandrakeSoft Mandrake Linux 2006 X86_64
- MandrakeSoft Mandrake Linux LE2005
- MandrakeSoft Mandrake Linux LE2005 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 2.1
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Multi Network Firewall 2.0
- OpenPKG OpenPKG 2-STABLE
- OpenPKG OpenPKG 2.1
- OpenPKG OpenPKG 2.2
- OpenPKG OpenPKG 2.3
- OpenPKG OpenPKG CURRENT
- OpenPKG OpenPKG Enterprise E1.0-SOLID
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 Desktop
- RedHat Linux Advanced Workstation 2.1 Itanium
- Sun Solaris 10 x86
- Sun Solaris 10 SPARC
- Sun Solaris 8 SPARC
- Sun Solaris 8 x86
- Sun Solaris 9 SPARC
- Sun Solaris 9 x86
- Turbolinux Turbolinux 10 Desktop
- Turbolinux Turbolinux 10 F...
- Turbolinux Turbolinux 10 Server
- Turbolinux Turbolinux 7 Server
- Turbolinux Turbolinux 7 Workstation
- Turbolinux Turbolinux 8 Server
- Turbolinux Turbolinux 8 Workstation
- Turbolinux Turbolinux Home
- Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
Reported:
Mar 30, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. 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 author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. 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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
