GNU GCC fastjar .jar directory traversal
| gnugcc-fastjar-directory-traversal (27806) |
Description:
The GNU GCC fastjar utility could allow a remote attacker to traverse directories on the system. Archived files compressed with fastjar are not validated when extracted. A remote attacker could create a malicious .jar archive with specially-crafted path names containing "dot dot" sequences (/../) which, once extracted, could allow the attacker to traverse directories and overwrite or create arbitrary files on the system.
Platforms Affected:
- Avaya, Converged Communications Server 2.0
- Avaya, Converged Communications Server 2.0.1
- Avaya, Converged Communications Server 2.1
- Avaya, Converged Communications Server 3.0
- Avaya, Converged Communications Server 3.1
- Avaya, Converged Communications Server 3.1.1
- Avaya, Message Networking
- Avaya, Message Storage Server 3.0
- Avaya, SIP Enablement Services 2.0
- Avaya, SIP Enablement Services 2.0.1
- Avaya, SIP Enablement Services 2.1
- Avaya, SIP Enablement Services 3.0
- Avaya, SIP Enablement Services 3.1
- Avaya, SIP Enablement Services 3.1.1
- Debian, Debian Linux 3.1
- Gentoo, Linux
- GNU, GCC 4.1.0 and prior
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 AS
- VMware, ESX Server prior to 3.0.0 1001210
- VMware, ESX Server prior to 3.0.1 8253547
- VMware, ESX Server prior to 3.0.2 1001729
Remedy:
Apply the patch for this vulnerability, as listed in GCC Bugzilla Bug 28359. See References.
For VMware ESX 3.0.1:
Apply Patch Bundle ESX-8253547, available from the VMware Web site. See References.
For VMware ESX 3.0.0:
Apply Patch Bundle ESX-1001210, available from the VMware Web site. See References.
For VMware ESX 3.0.2:
Apply Patch Bundle ESX-1001729, available from the VMware Web site. See References.
For Debian GNU/Linux:
Refer to DSA-1170-1 for patch, upgrade, or suggested workaround information. See References.
For Avaya:
Refer to ASA-2007-189 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
File Manipulation
References:
- Full-Disclosure Mailing List, Wed Sep 19 2007 - 21:15:23 CDT, VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player at http://archives.neohapsis.com/archives/fulldisclosure/2007-09/0356.html.
- GCC Bugzilla Bug 28359, fastjar directory traversal problem at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28359.
- VMware Security-announce Mailing list, Wed Sep 19 19:15:23 PDT 2007, VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player at http://lists.vmware.com/pipermail/security-announce/2007/000001.html.
- VMware, Inc. Web site, Download Patch ESX-1001210 for VMware ESX Server 3.0.0 at http://www.vmware.com/support/vi3/doc/esx-1001210-patch.html.
- VMware, Inc. Web site, Download Patch ESX-8253547 for VMware ESX Server 3.0.1 at http://www.vmware.com/support/vi3/doc/esx-8253547-patch.html.
- VMware, Inc. Web site, Download Patch ESX-1001729 for VMware ESX Server 3.0.2 at http://www.vmware.com/support/vi3/doc/esx-1001729-patch.html.
- ASA-2007-189: GCC security and bug fix update (RHSA-2007-0220)
- ASA-2007-390: gcc security and bug fix update (RHSA-2007-0473)
- BID-15669: Fastjar Archive Extraction Directory Traversal Vulnerability
- BID-19070: Gnu GCC FastJar Archive Extraction Directory Traversal Vulnerability
- CVE-2006-3619: Directory traversal vulnerability in FastJar 0.93, as used in Gnu GCC 4.1.1 and earlier, and 3.4.6 and earlier, allows user-assisted attackers to overwrite arbitrary files via a .jar file containing filenames with ../ sequences.
- DSA-1170: gcc-3.4 -- missing sanity check
- FrSIRT/ADV-2005-2686: FastJar JAR Archives Extraction Directory Traversal Vulnerability
- FrSIRT/ADV-2006-2866: Gnu GCC fastjar JAR Archive Extraction Client-Side Directory Traversal Vulnerability
- FrSIRT/ADV-2007-3229: VMware Products Command Execution and Security Bypass Vulnerabilities
- GLSA-200711-23: VMware Workstation and Player: Multiple vulnerabilities
- MDVSA-2008:066: Updated gcc packages fix directory traversal vulnerability in fastjar
- OSVDB ID: 21337: FastJar jar Archive Extraction Traversal Arbitrary File Write
- RHSA-2007-0220: Moderate: gcc security and bug fix update
- RHSA-2007-0473: Moderate: gcc security and bug fix update
- SA17839: FastJar File Extraction Directory Traversal Vulnerability
- SA21100: Gnu GCC fastjar Directory Traversal Vulnerability
- SA25281: Ayava Products Gnu GCC fastjar Directory Traversal
- SA26909: VMware ESX Server Multiple Security Updates
- SECTRACK ID: 1017987: GCC FastJar Directory Traversal Lets Users Cause Files to Be Overwritten
Reported:
Jul 17, 2006
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
