ID CVE-2010-2322
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:matthias_klose:fastjar:0.98:*:*:*:*:*:*:*
    cpe:2.3:a:matthias_klose:fastjar:0.98:*:*:*:*:*:*:*
CVSS
Base: 2.6 (as of 19-04-2013 - 03:03)
Impact:
Exploitability:
CWE CWE-22
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Using Slashes and URL Encoding Combined to Bypass Validation Logic
    This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple ways of encoding a URL and abuse the interpretation of the URL. A URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
  • Using Escaped Slashes in Alternate Encoding
    This attack targets the use of the backslash in alternate encoding. An attacker can provide a backslash as a leading character and causes a parser to believe that the next character is special. This is called an escape. By using that trick, the attacker tries to exploit alternate ways to encode the same character which leads to filter problems and opens avenues to attack.
  • Path Traversal
    An adversary uses path manipulation methods to exploit insufficient input validation of a target to obtain access to data that should be not be retrievable by ordinary well-formed requests. A typical variety of this attack involves specifying a path to a desired file together with dot-dot-slash characters, resulting in the file access API or function traversing out of the intended directory structure and into the root file system. By replacing or modifying the expected path information the access function or API retrieves the file desired by the attacker. These attacks either involve the attacker providing a complete path to a targeted file or using control characters (e.g. path separators (/ or \) and/or dots (.)) to reach desired directories or files.
  • Using Slashes in Alternate Encoding
    This attack targets the encoding of the Slash characters. An attacker would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the attacker many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
Access
VectorComplexityAuthentication
NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:N/AC:H/Au:N/C:N/I:P/A:N
redhat via4
advisories
bugzilla
id 635708
title Huge performance problem with libstdc++ and multithread applications
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331005
    • OR
      • AND
        • comment cpp is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025001
        • comment cpp is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039059
      • AND
        • comment gcc is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025003
        • comment gcc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039061
      • AND
        • comment gcc-c++ is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025005
        • comment gcc-c++ is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039063
      • AND
        • comment gcc-gfortran is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025007
        • comment gcc-gfortran is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039065
      • AND
        • comment gcc-gnat is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025009
        • comment gcc-gnat is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039067
      • AND
        • comment gcc-java is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025011
        • comment gcc-java is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039069
      • AND
        • comment gcc-objc is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025013
        • comment gcc-objc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039071
      • AND
        • comment gcc-objc++ is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025015
        • comment gcc-objc++ is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039073
      • AND
        • comment libgcc is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025017
        • comment libgcc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039075
      • AND
        • comment libgcj is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025019
        • comment libgcj is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039077
      • AND
        • comment libgcj-devel is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025021
        • comment libgcj-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039079
      • AND
        • comment libgcj-src is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025023
        • comment libgcj-src is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039081
      • AND
        • comment libgfortran is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025025
        • comment libgfortran is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039083
      • AND
        • comment libgnat is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025027
        • comment libgnat is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039085
      • AND
        • comment libmudflap is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025029
        • comment libmudflap is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039087
      • AND
        • comment libmudflap-devel is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025031
        • comment libmudflap-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039089
      • AND
        • comment libobjc is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025033
        • comment libobjc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039091
      • AND
        • comment libstdc++ is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025035
        • comment libstdc++ is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039093
      • AND
        • comment libstdc++-devel is earlier than 0:4.1.2-50.el5
          oval oval:com.redhat.rhsa:tst:20110025037
        • comment libstdc++-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20100039095
rhsa
id RHSA-2011:0025
released 2011-01-13
severity Low
title RHSA-2011:0025: gcc security and bug fix update (Low)
rpms
  • cpp-0:4.1.2-50.el5
  • gcc-0:4.1.2-50.el5
  • gcc-c++-0:4.1.2-50.el5
  • gcc-debuginfo-0:4.1.2-50.el5
  • gcc-gfortran-0:4.1.2-50.el5
  • gcc-gnat-0:4.1.2-50.el5
  • gcc-java-0:4.1.2-50.el5
  • gcc-objc++-0:4.1.2-50.el5
  • gcc-objc-0:4.1.2-50.el5
  • libgcc-0:4.1.2-50.el5
  • libgcj-0:4.1.2-50.el5
  • libgcj-devel-0:4.1.2-50.el5
  • libgcj-src-0:4.1.2-50.el5
  • libgfortran-0:4.1.2-50.el5
  • libgnat-0:4.1.2-50.el5
  • libmudflap-0:4.1.2-50.el5
  • libmudflap-devel-0:4.1.2-50.el5
  • libobjc-0:4.1.2-50.el5
  • libstdc++-0:4.1.2-50.el5
  • libstdc++-devel-0:4.1.2-50.el5
refmap via4
bid 41009
confirm
gentoo GLSA-201209-21
mlist [oss-security] 20100608 jar, fastjar directory traversal vulnerabilities
osvdb 65467
secunia
  • 42892
  • 50786
vupen ADV-2011-0121
Last major update 19-04-2013 - 03:03
Published 18-06-2010 - 18:30
Last modified 19-04-2013 - 03:03
Back to Top