GNU cpio directory traversal
| cpio-directory-traversal (20204) |
Description:
GNU cpio could allow a remote attacker to traverse directories on the system. By persuading a victim to open a specially-crafted cpio file containing "dot dot" sequences (/../) in the file, an attacker could exploit this vulnerability to write to arbitrary directories on the system.
*CVSS:
| Base Score: | 1.9 |
| Access Vector: | Remote |
| Access Complexity: | High |
| Authentication: | Not Required |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | None |
| Temporal Score: | 1.4 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
File Manipulation
Remedy:
For Gentoo Linux:
Upgrade to the latest version of cpio (2.6-r3 or later), as listed in Gentoo Linux Security Announcmeent GLSA 200506-16. See References.
For Conectiva Linux 10.0:
Upgrade to the latest version of cpio, as listed in Conectiva Linux Security Announcement CLSA-2005:1002. See References.
For Debian GNU/Linux:
Refer to DSA-846-1 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2005:378-17 or RHSA-2005:806-8 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu Linux:
Refer to USN-189-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- BugTraq Mailing List, Wed Apr 20 2005 - 15:30:39 CDT : cpio directory traversal vulnerability.
- Conectiva Linux Security Announcement CLSA-2005:1002: Fixes for cpio vulnerabilities.
- GNU cpio Web page: Introduction to Cpio.
- BID-13291: CPIO Filename Directory Traversal Vulnerability
- CVE-2005-1229: Directory traversal vulnerability in cpio 2.6 and earlier allows remote attackers to write to arbitrary directories via a .. (dot dot) in a cpio file.
- DSA-846: cpio -- several vulnerabilities
- MDKSA-2005:116: Updated cpio packages fix vulnerabilities
- MDKSA-2005:116-1: Updated cpio packages fix vulnerabilities
- MDKSA-2007:233: Updated cpio package fixes buffer overflow and directory traversal vulnerabilities
- OSVDB ID: 15725: cpio Race Condition Arbitrary File Permission Modification
- SUSE-SR:2006:010: SUSE Security Summary Report
Platforms Affected:
- Canonical Ubuntu 4.10
- Canonical Ubuntu 5.04
- Conectiva Linux 10
- Debian Debian Linux 3.0
- Debian Debian Linux 3.1
- Gentoo Linux
- GNU cpio 1.0
- GNU cpio 1.1
- GNU cpio 1.2
- GNU cpio 1.3
- GNU Cpio 2.4.2
- GNU cpio 2.5
- GNU cpio 2.5.90
- GNU cpio 2.6
- MandrakeSoft Mandrake Linux 10.0 AMD64
- MandrakeSoft Mandrake Linux 10.0
- MandrakeSoft Mandrake Linux 10.1 X86_64
- MandrakeSoft Mandrake Linux 10.1
- MandrakeSoft Mandrake Linux 2007 X86_64
- MandrakeSoft Mandrake Linux 2007
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux LE2005
- MandrakeSoft Mandrake Linux LE2005 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 2.1
- MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Multi Network Firewall 2.0
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 AS
- RedHat Linux Advanced Workstation 2.1 Itanium
- 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 Multimedia
- Turbolinux Turbolinux Personal
- Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
Reported:
Apr 20, 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.
