Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title fastjar: Directory traversal
Informations
Name GLSA-201209-21 First vendor Publication 2012-09-28
Vendor Gentoo Last vendor Modification 2012-09-28
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:N/I:P/A:P)
Cvss Base Score 5.8 Attack Range Network
Cvss Impact Score 4.9 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Two directory traversal vulnerabilities have been found in fastjar, allowing remote attackers to create or overwrite arbitrary files.

Background

fastjar is a Java archiver written in C.

Description

Two directory traversal vulnerabilities have been discovered in fastjar. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker could entice a user to open a specially crafted JAR file, possibly resulting in the creation or truncation of arbitrary files.

Workaround

There is no known workaround at this time.

Resolution

All fastjar users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/fastjar-0.98-r1"

References

[ 1 ] CVE-2010-0831 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-0831
[ 2 ] CVE-2010-2322 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2322

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-201209-21.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201209-21.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE/SANS Top 25)

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:13036
 
Oval ID: oval:org.mitre.oval:def:13036
Title: USN-953-1 -- fastjar vulnerability
Description: Dan Rosenberg discovered that fastjar incorrectly handled file paths containing ".." when unpacking archives. If a user or an automated system were tricked into unpacking a specially crafted jar file, arbitrary files could be overwritten with user privileges.
Family: unix Class: patch
Reference(s): USN-953-1
CVE-2010-0831
Version: 5
Platform(s): Ubuntu 8.04
Ubuntu 10.04
Ubuntu 9.04
Ubuntu 9.10
Product(s): fastjar
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:21917
 
Oval ID: oval:org.mitre.oval:def:21917
Title: RHSA-2011:0025: gcc security and bug fix update (Low)
Description: Absolute path traversal vulnerability in the extract_jar function in jartool.c in FastJar 0.98 allows remote attackers to create or overwrite arbitrary files via a full pathname for a file within a .jar archive, a related issue to CVE-2010-0831. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-3619.
Family: unix Class: patch
Reference(s): RHSA-2011:0025-01
CVE-2010-0831
CVE-2010-2322
Version: 29
Platform(s): Red Hat Enterprise Linux 5
Product(s): gcc
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:23176
 
Oval ID: oval:org.mitre.oval:def:23176
Title: ELSA-2011:0025: gcc security and bug fix update (Low)
Description: Absolute path traversal vulnerability in the extract_jar function in jartool.c in FastJar 0.98 allows remote attackers to create or overwrite arbitrary files via a full pathname for a file within a .jar archive, a related issue to CVE-2010-0831. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-3619.
Family: unix Class: patch
Reference(s): ELSA-2011:0025-01
CVE-2010-0831
CVE-2010-2322
Version: 13
Platform(s): Oracle Linux 5
Product(s): gcc
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:25713
 
Oval ID: oval:org.mitre.oval:def:25713
Title: SUSE-SU-2013:1632-1 -- Security update for fastjar
Description: This fastjar update fixes a directory traversal issue (bnc#607043). Security Issue reference: * CVE-2010-0831 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0831 >
Family: unix Class: patch
Reference(s): SUSE-SU-2013:1632-1
CVE-2010-0831
Version: 3
Platform(s): SUSE Linux Enterprise Server 11
Product(s): fastjar
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:28200
 
Oval ID: oval:org.mitre.oval:def:28200
Title: DEPRECATED: ELSA-2011-0025 -- gcc security and bug fix update (low)
Description: [4.1.2-50.el5] - fix up fastjar directory traversal bugs (CVE-2010-0831) [4.1.2-49.el5] - fix ICE in set_uids_in_ptset (#605803) - fix ICE in make_rtl_for_nonlocal_decl (#582682, #508735, #503565, PR c++/33094) - dont build gcjwebplugin (#596097) - fix IPP handling in libgcj (#578382) - document -print-multi-os-directory (#529659, PR other/25507) - fix ICE in output_die with function local types (#527510, PR debug/41063) - speed up locale::locale() ctor if _S_global hasnt been changed (#635708, PR libstdc++/40088)
Family: unix Class: patch
Reference(s): ELSA-2011-0025
CVE-2010-0831
CVE-2010-2322
Version: 4
Platform(s): Oracle Linux 5
Product(s): gcc
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

OpenVAS Exploits

Date Description
2012-10-03 Name : Gentoo Security Advisory GLSA 201209-21 (fastjar)
File : nvt/glsa_201209_21.nasl
2011-01-14 Name : RedHat Update for gcc RHSA-2011:0025-01
File : nvt/gb_RHSA-2011_0025-01_gcc.nasl
2010-07-12 Name : Fedora Update for gcc FEDORA-2010-10640
File : nvt/gb_fedora_2010_10640_gcc_fc12.nasl
2010-07-12 Name : Fedora Update for libtool FEDORA-2010-10640
File : nvt/gb_fedora_2010_10640_libtool_fc12.nasl
2010-07-06 Name : Fedora Update for gcc FEDORA-2010-10415
File : nvt/gb_fedora_2010_10415_gcc_fc13.nasl
2010-06-25 Name : Mandriva Update for fastjar MDVSA-2010:122 (fastjar)
File : nvt/gb_mandriva_MDVSA_2010_122.nasl
2010-06-25 Name : Ubuntu Update for fastjar vulnerability USN-953-1
File : nvt/gb_ubuntu_USN_953_1.nasl
2010-04-19 Name : Mandriva Update for k3b MDVA-2010:122 (k3b)
File : nvt/gb_mandriva_MDVA_2010_122.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
65467 FastJar jartool.c extract_jar Function Traversal Arbitrary File Overwrite

Nessus® Vulnerability Scanner

Date Description
2013-11-07 Name : The remote SuSE 11 host is missing a security update.
File : suse_11_fastjar-130927.nasl - Type : ACT_GATHER_INFO
2012-09-28 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201209-21.nasl - Type : ACT_GATHER_INFO
2012-08-01 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20110113_gcc_on_SL5_x.nasl - Type : ACT_GATHER_INFO
2011-01-14 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2011-0025.nasl - Type : ACT_GATHER_INFO
2010-07-07 Name : The remote Fedora host is missing one or more security updates.
File : fedora_2010-10640.nasl - Type : ACT_GATHER_INFO
2010-07-06 Name : The remote Fedora host is missing a security update.
File : fedora_2010-10415.nasl - Type : ACT_GATHER_INFO
2010-06-23 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2010-122.nasl - Type : ACT_GATHER_INFO
2010-06-22 Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-953-1.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:37:36
  • Multiple Updates