ID CVE-2007-5461
Summary Absolute path traversal vulnerability in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0, 5.0.0, 5.5.0 through 5.5.25, and 6.0.0 through 6.0.14, under certain configurations, allows remote authenticated users to read arbitrary files via a WebDAV write request that specifies an entity with a SYSTEM tag.
References
Vulnerable Configurations
  • cpe:2.3:a:apache:tomcat:4.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.13:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.13:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.14:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.14:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.15:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.15:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.16:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.16:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.17:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.17:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.18:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.18:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.19:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.19:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.20:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.20:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.21:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.21:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.22:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.22:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.23:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.23:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.24:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.24:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.25:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.25:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.26:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.26:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.27:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.27:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.28:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.28:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.29:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.29:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.30:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.30:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.31:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.31:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.32:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.32:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.33:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.33:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.34:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.34:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.35:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.35:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat:4.1.36:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat:4.1.36:*:*:*:*:*:*:*
CVSS
Base: 3.5 (as of 25-03-2019 - 11:29)
Impact:
Exploitability:
CWE CWE-22
CAPEC
  • Relative Path Traversal
    An attacker exploits a weakness in input validation on the target by supplying a specially constructed path utilizing dot and slash characters for the purpose of obtaining access to arbitrary files or resources. An attacker modifies a known path on the target in order to reach material that is not available through intended channels. These attacks normally involve adding additional path separators (/ or \) and/or dots (.), or encodings thereof, in various combinations in order to reach parent directories or entirely separate trees of the target's directory structure.
  • Directory Traversal
    An attacker with access to file system resources, either directly or via application logic, will use various file path specification or navigation mechanisms such as ".." in path strings and absolute paths to extend their range of access to inappropriate areas of the file system. The attacker attempts to either explore the file system for recon purposes or access directories and files that are intended to be restricted from their access. Exploring the file system can be achieved through constructing paths presented to directory listing programs, such as "ls" and 'dir', or through specially crafted programs that attempt to explore the file system. The attacker engaging in this type of activity is searching for information that can be used later in a more exploitive attack. Access to restricted directories or files can be achieved through modification of path references utilized by system applications.
  • File System Function Injection, Content Based
    An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
  • 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 way of encoding an URL and abuse the interpretation of the URL. An 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.
  • Manipulating 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 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.
  • 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 MEDIUM SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:N/AC:M/Au:S/C:P/I:N/A:N
oval via4
accepted 2013-04-29T04:18:29.628-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description Absolute path traversal vulnerability in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0, 5.0.0, 5.5.0 through 5.5.25, and 6.0.0 through 6.0.14, under certain configurations, allows remote authenticated users to read arbitrary files via a WebDAV write request that specifies an entity with a SYSTEM tag.
family unix
id oval:org.mitre.oval:def:9202
status accepted
submitted 2010-07-09T03:56:16-04:00
title Absolute path traversal vulnerability in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0, 5.0.0, 5.5.0 through 5.5.25, and 6.0.0 through 6.0.14, under certain configurations, allows remote authenticated users to read arbitrary files via a WebDAV write request that specifies an entity with a SYSTEM tag.
version 18
redhat via4
advisories
  • bugzilla
    id 427216
    title CVE-2007-5342 Apache Tomcat's default security policy is too open
    oval
    AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment tomcat5 is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042002
        • comment tomcat5 is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327003
      • AND
        • comment tomcat5-admin-webapps is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042004
        • comment tomcat5-admin-webapps is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327015
      • AND
        • comment tomcat5-common-lib is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042014
        • comment tomcat5-common-lib is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327017
      • AND
        • comment tomcat5-jasper is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042020
        • comment tomcat5-jasper is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327009
      • AND
        • comment tomcat5-jasper-javadoc is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042018
        • comment tomcat5-jasper-javadoc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327021
      • AND
        • comment tomcat5-jsp-2.0-api is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042022
        • comment tomcat5-jsp-2.0-api is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327013
      • AND
        • comment tomcat5-jsp-2.0-api-javadoc is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042008
        • comment tomcat5-jsp-2.0-api-javadoc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327023
      • AND
        • comment tomcat5-server-lib is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042006
        • comment tomcat5-server-lib is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327007
      • AND
        • comment tomcat5-servlet-2.4-api is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042012
        • comment tomcat5-servlet-2.4-api is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327005
      • AND
        • comment tomcat5-servlet-2.4-api-javadoc is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042016
        • comment tomcat5-servlet-2.4-api-javadoc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327011
      • AND
        • comment tomcat5-webapps is earlier than 0:5.5.23-0jpp.3.0.3.el5_1
          oval oval:com.redhat.rhsa:tst:20080042010
        • comment tomcat5-webapps is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070327019
    rhsa
    id RHSA-2008:0042
    released 2008-03-11
    severity Moderate
    title RHSA-2008:0042: tomcat security update (Moderate)
  • rhsa
    id RHSA-2008:0195
  • rhsa
    id RHSA-2008:0261
  • rhsa
    id RHSA-2008:0630
  • rhsa
    id RHSA-2008:0862
rpms
  • tomcat5-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-admin-webapps-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-common-lib-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-jasper-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-jasper-javadoc-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-jsp-2.0-api-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-jsp-2.0-api-javadoc-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-server-lib-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-servlet-2.4-api-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-servlet-2.4-api-javadoc-0:5.5.23-0jpp.3.0.3.el5_1
  • tomcat5-webapps-0:5.5.23-0jpp.3.0.3.el5_1
refmap via4
apple
  • APPLE-SA-2008-06-30
  • APPLE-SA-2008-10-09
bid
  • 26070
  • 31681
bugtraq 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components
confirm
debian
  • DSA-1447
  • DSA-1453
exploit-db 4530
fedora FEDORA-2007-3456
fulldisc 20071014 Apache Tomcat Rem0Te FiLe DiscloSure ZeroDay
gentoo GLSA-200804-10
hp HPSBST02955
mandriva
  • MDKSA-2007:241
  • MDVSA-2009:136
misc http://issues.apache.org/jira/browse/GERONIMO-3549
mlist
  • [tomcat-dev] 20190319 svn commit: r1855831 [21/30] - in /tomcat/site/trunk: ./ docs/ xdocs/
  • [tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/
  • [tomcat-dev] 20190325 svn commit: r1856174 [19/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/
  • [tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/
  • [tomcat-users] 20071015 [Security] - Important vulnerability disclosed in Apache Tomcat webdav servlet
sectrack 1018864
secunia
  • 27398
  • 27446
  • 27481
  • 27727
  • 28317
  • 28361
  • 29242
  • 29313
  • 29711
  • 30676
  • 30802
  • 30899
  • 30908
  • 31493
  • 32120
  • 32222
  • 32266
  • 37460
  • 57126
sunalert 239312
suse
  • SUSE-SR:2008:005
  • SUSE-SR:2009:004
vupen
  • ADV-2007-3622
  • ADV-2007-3671
  • ADV-2007-3674
  • ADV-2008-1856
  • ADV-2008-1979
  • ADV-2008-1981
  • ADV-2008-2780
  • ADV-2008-2823
  • ADV-2009-3316
xf apache-tomcat-webdav-dir-traversal(37243)
Last major update 25-03-2019 - 11:29
Published 15-10-2007 - 18:17
Back to Top