ID CVE-2012-3305
Summary Directory traversal vulnerability in IBM WebSphere Application Server (WAS) 6.1 before 6.1.0.47, 7.0 before 7.0.0.25, 8.0 before 8.0.0.5, and 8.5 before 8.5.0.1 allows remote attackers to overwrite arbitrary files via a crafted application file.
References
Vulnerable Configurations
  • IBM WebSphere Application Server 6.1
    cpe:2.3:a:ibm:websphere_application_server:6.1
  • IBM WebSphere Application Server 6.1.0
    cpe:2.3:a:ibm:websphere_application_server:6.1.0
  • IBM WebSphere Application Server 6.1.0.0
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.0
  • IBM WebSphere Application Server 6.1.0.1 (Fix Pack 1)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.1
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.10
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.10
  • IBM WebSphere Application Server 6.1.0.11 (Fix Pack 11)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.11
  • IBM WebSphere Application Server 6.1.0.12
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.12
  • IBM WebSphere Application Server 6.1.0.13 (Fix Pack 13)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.13
  • IBM WebSphere Application Server 6.1.0.14 (Fix Pack 14)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.14
  • IBM WebSphere Application Server 6.1.0.15 (Fix Pack 15)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.15
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.16
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.16
  • IBM WebSphere Application Server 6.1.0.17 (Fix Pack 17)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.17
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.18
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.18
  • IBM WebSphere Application Server 6.1.0.19 (Fix Pack 19)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.19
  • IBM WebSphere Application Server 6.1.0.2 (Fix Pack 2)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.2
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.20
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.20
  • IBM WebSphere Application Server 6.1.0.21 (Fix Pack 21)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.21
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.22
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.22
  • IBM WebSphere Application Server 6.1.0.23 (Fix Pack 23)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.23
  • IBM WebSphere Application Server 6.1.0.24
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.24
  • IBM WebSphere Application Server 6.1.0.25 (Fix Pack 25)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.25
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.26
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.26
  • IBM WebSphere Application Server 6.1.0.27 (Fix Pack 27)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.27
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.28
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.28
  • IBM WebSphere Application Server 6.1.0.29 (Fix Pack 29)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.29
  • IBM WebSphere Application Server 6.1.0.3 (Fix Pack 3)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.3
  • IBM WebSphere Application Server 6.1.0.31 (Fix Pack 31)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.31
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.32
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.32
  • IBM WebSphere Application Server 6.1.0.33 (Fix Pack 33)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.33
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.34
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.34
  • IBM WebSphere Application Server 6.1.0.35 (Fix Pack 35)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.35
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.36
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.36
  • IBM WebSphere Application Server 6.1.0.37 (Fix Pack 37)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.37
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.38
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.38
  • IBM WebSphere Application Server 6.1.0.39 (Fix Pack 39)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.39
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.4
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.4
  • IBM WebSphere Application Server 6.1.0.41 (Fix Pack 41)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.41
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.42
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.42
  • IBM WebSphere Application Server 6.1.0.43 (Fix Pack 43)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.43
  • cpe:2.3:a:ibm:websphere_application_server:6.1.0.44
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.44
  • IBM WebSphere Application Server 6.1.0.45 (Fix Pack 45)
    cpe:2.3:a:ibm:websphere_application_server:6.1.0.45
  • IBM WebSphere Application Server 7.0
    cpe:2.3:a:ibm:websphere_application_server:7.0
  • IBM WebSphere Application Server 7.0.0.1
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.1
  • IBM WebSphere Application Server 7.0.0.10 (Fix Pack 10)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.10
  • IBM WebSphere Application Server 7.0.0.11 (Fix Pack 11)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.11
  • IBM WebSphere Application Server 7.0.0.12
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.12
  • IBM WebSphere Application Server 7.0.0.13 (Fix Pack 13)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.13
  • IBM WebSphere Application Server 7.0.0.14 (Fix Pack 14)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.14
  • IBM WebSphere Application Server 7.0.0.15 (Fix Pack 15)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.15
  • IBM WebSphere Application Server 7.0.0.16 (Fix Pack 16)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.16
  • IBM WebSphere Application Server 7.0.0.17 (Fix Pack 17)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.17
  • IBM WebSphere Application Server 7.0.0.18 (Fix Pack 18)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.18
  • IBM WebSphere Application Server 7.0.0.19 (Fix Pack 19)
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.19
  • IBM WebSphere Application Server 7.0.0.2
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.2
  • IBM WebSphere Application Server 7.0.0.21
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.21
  • IBM WebSphere Application Server 7.0.0.22
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.22
  • IBM WebSphere Application Server 7.0.0.23
    cpe:2.3:a:ibm:websphere_application_server:7.0.0.23
  • IBM WebSphere Application Server 8.0
    cpe:2.3:a:ibm:websphere_application_server:8.0
  • IBM WebSphere Application Server 8.0.0.0
    cpe:2.3:a:ibm:websphere_application_server:8.0.0.0
  • IBM WebSphere Application Server 8.0.0.1
    cpe:2.3:a:ibm:websphere_application_server:8.0.0.1
  • IBM WebSphere Application Server 8.0.0.2 (Fix Pack 2)
    cpe:2.3:a:ibm:websphere_application_server:8.0.0.2
  • IBM WebSphere Application Server 8.0.0.3 (Fix Pack 3)
    cpe:2.3:a:ibm:websphere_application_server:8.0.0.3
  • IBM WebSphere Application Server 8.0.0.4 (Fix Pack 4)
    cpe:2.3:a:ibm:websphere_application_server:8.0.0.4
  • IBM WebSphere Application Server 8.5.0.0
    cpe:2.3:a:ibm:websphere_application_server:8.5.0.0
CVSS
Base: 6.4 (as of 26-09-2012 - 09:45)
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 LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL PARTIAL
nessus via4
  • NASL family Web Servers
    NASL id WEBSPHERE_6_1_0_45.NASL
    description IBM WebSphere Application Server 6.1 before Fix Pack 45 appears to be running on the remote host. As such, it is potentially affected by the following vulnerabilities : - An error exists related to 'Application Snoop Servlet' and missing access controls. This error can allow sensitive information to be disclosed. Note that exploiting this issue requires that the default 'Application Snoop Servlet' be installed and running. (CVE-2012-2170, PM56183) - Several errors exist related to SSL/TLS that can allow an attacker to carry out denial of service attacks against the application. (CVE-2012-2190, CVE-2012-2191, PM66218) - Unspecified cross-site scripting issues exist related to the administrative console. (CVE-2012-3293, PM60839) - An unspecified error in the 'ISC Console' can allow a remote attacker to take over a valid user's session. (CVE-2012-3304, PM54356) - An unspecified directory traversal error exists that can allow remote attackers to overwrite files outside the application's deployment directory. (CVE-2012-3305, PM62467) - When multi-domain support is enabled, the application does not properly purge passwords from the authentication cache. (CVE-2012-3306, PM66514) - An error exists related to 'Federated Repositories', 'IIOP' connections, 'CBIND' checking and 'Optimized Local Adapters' that can allow a remote attacker to bypass security restrictions. Note that this issue affects the application when running on z/OS. (CVE-2012-3311, PM61388) - The fix contained in PM44303 contains an error that can allow an authenticated attacker to bypass security restrictions and gain administrative access to the application. (CVE-2012-3325, PM71296)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 62394
    published 2012-10-02
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62394
    title IBM WebSphere Application Server 6.1 < Fix Pack 45 Multiple Vulnerabilities
  • NASL family Web Servers
    NASL id WEBSPHERE_7_0_0_25.NASL
    description IBM WebSphere Application Server 7.0 before Fix Pack 25 appears to be running on the remote host. As such, it is potentially affected by the following vulnerabilities : - Several errors exist related to SSL/TLS that can allow an attacker to carry out denial of service attacks against the application. (CVE-2012-2190, CVE-2012-2191, PM66218) - Unspecified cross-site scripting issues exist related to the administrative console. (CVE-2012-3293, PM60839) - An unspecified error in the 'ISC Console' can allow a remote attacker to take over a valid user's session. (CVE-2012-3304, PM54356) - An unspecified directory traversal error exists that can allow remote attackers to overwrite files outside the application's deployment directory. (CVE-2012-3305, PM62467) - When multi-domain support is enabled, the application does not properly purge passwords from the authentication cache. (CVE-2012-3306, PM66514) - An error exists related to 'Federated Repositories', 'IIOP' connections, 'CBIND' checking and 'Optimized Local Adapters' that can allow a remote attacker to bypass security restrictions. Note that this issue affects the application when running on z/OS. (CVE-2012-3311, PM61388) - The fix contained in PM44303 contains an error that can allow an authenticated attacker to bypass security restrictions and gain administrative access to the application. (CVE-2012-3325, PM71296)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 62413
    published 2012-10-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62413
    title IBM WebSphere Application Server 7.0 < Fix Pack 25 Multiple Vulnerabilities
  • NASL family Web Servers
    NASL id WEBSPHERE_8_5_0_1.NASL
    description IBM WebSphere Application Server 8.5 before Fix Pack 1 appears to be running on the remote host and is, therefore, potentially affected by the following vulnerabilities : - An input validation error exists related to the 'Eclipse Help System' that can allow arbitrary redirect responses to HTTP requests. (CVE-2012-2159, PM66410) - Several errors exist related to SSL/TLS that can allow an attacker to carry out denial of service attacks against the application. (CVE-2012-2190, CVE-2012-2191, PM66218) - Unspecified cross-site scripting issues exist related to the administrative console. (CVE-2012-3293, PM60839) - An unspecified error in the 'ISC Console' can allow a remote attacker to take over a valid user's session. (CVE-2012-3304, PM54356) - An unspecified directory traversal error exists that can allow remote attackers to overwrite files outside the application's deployment directory. (CVE-2012-3305, PM62467) - When multi-domain support is enabled, the application does not properly purge passwords from the authentication cache. (CVE-2012-3306, PM66514) - An error exists related to 'Federated Repositories', 'IIOP' connections, 'CBIND' checking and 'Optimized Local Adapters' that can allow a remote attacker to bypass security restrictions. Note that this issue affects the application when running on z/OS. (CVE-2012-3311, PM61388) - The fix contained in PM44303 contains an error that can allow an authenticated attacker to bypass security restrictions and gain administrative access to the application. (CVE-2012-3325, PM71296) - A request validation error exists related to the proxy server component that can allow a remote attacker to cause the proxy status to be reported as disabled thus denying applications access to the proxy. (CVE-2012-3330, PM71319) - A request validation error exists related to the 'Liberty Profile' and 'JAX-RS' that can allow a remote attacker to elevate privileges. (CVE-2012-4850, PM67082) - A user-supplied input validation error exists related to the 'Liberty Profile' that can allow cross-site scripting attacks to be carried out. (CVE-2012-4851, PM68643) - A user-supplied input validation error exists that can allow cross-site request forgery (CSRF) attacks to be carried out. (CVE-2012-4853, PM62920)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 62975
    published 2012-11-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62975
    title IBM WebSphere Application Server 8.5 < Fix Pack 1 Multiple Vulnerabilities
  • NASL family Web Servers
    NASL id WEBSPHERE_8_0_0_5.NASL
    description IBM WebSphere Application Server 8.0 before Fix Pack 5 appears to be running on the remote host. It is, therefore, potentially affected by the following vulnerabilities : - An unspecified error exists related to the Administrative Console that can allow an attacker to hijack sessions. (CVE-2012-3304, PM54356) - An unspecified directory traversal error exists that can allow remote attackers to overwrite files outside the application's deployment directory. (CVE-2012-3305, PM62467) - When multi-domain support is enabled, the application does not properly purge passwords from the authentication cache. (CVE-2012-3306, PM66514) - An error exists related to Federated Repositories for IIOP connections, Optimized Local Adapters and CBIND checking that can allow a local attacker to access or modify arbitrary files. Note this issue only affects the application when hosted on z/OS. (CVE-2012-3311, PM61388) - The fix contained in PM44303 contains an error that can allow an authenticated attacker to bypass security restrictions and gain administrative access to the application. (CVE-2012-3325, PM71296) - A request validation error exists related to the proxy server component that could allow a remote attacker to cause the proxy status to be reported as disabled, thus denying applications access to the proxy. (CVE-2012-3330, PM71319)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 64380
    published 2013-01-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64380
    title IBM WebSphere Application Server 8.0 < Fix Pack 5 Multiple Vulnerabilities
  • NASL family Web Servers
    NASL id WEBSPHERE_6_1_0_47.NASL
    description IBM WebSphere Application Server 6.1 before Fix Pack 47 appears to be running on the remote host. As such, it is potentially affected by the following vulnerabilities : - A remote attacker can bypass authentication because of improper user validation on Linux, Solaris, and HP-UX platforms that use a LocalOS registry. (CVE-2013-0543, PM75582) - A denial of service can be caused by the way Apache Ant uses bzip2 to compress files. This can be exploited by a local attacker passing specially crafted input. (CVE-2012-2098, PM90088) - A local attacker can cause a denial of service on Windows platforms with a LocalOS registry using WebSphere Identity Manager. (CVE-2013-0541, PM74909) - Remote attackers can traverse directories by deploying a specially crafted application file to overwrite files outside of the application deployment directory. (CVE-2012-3305, PM62467) - The TLS protocol implementation is susceptible to plaintext-recovery attacks via statistical analysis of timing data for crafted packets. (CVE-2013-0169, PM85211) - Terminal escape sequences are not properly filtered from logs. Remote attackers could execute arbitrary commands via an HTTP request containing an escape sequence. (CVE-2013-1862, PM87808) - Improper validation of user input allows for cross-site request forgery. By persuading an authenticated user to visit a malicious website, a remote attacker could exploit this vulnerability to obtain sensitive information. (CVE-2012-4853, CVE-2013-3029, PM62920, PM88746) - Improper validation of user input in the administrative console allows for multiple cross-site scripting attacks. (CVE-2013-0458, CVE-2013-0459, CVE-2013-0461, CVE-2013-0542, CVE-2013-0596, CVE-2013-2967, CVE-2013-4005, CVE-2013-4052, PM71139, PM72536, PM71389, PM73445, PM78614, PM81846, PM88208, PM91892) - Improper validation of portlets in the administrative console allows for cross-site request forgery, which could allow an attacker to obtain sensitive information. (CVE-2013-0460, PM72275) - Remote, authenticated attackers can traverse directories on Linux and UNIX systems running the application. (CVE-2013-0544, PM82468) - A denial of service attack is possible if the optional mod_dav module is being used. (CVE-2013-1896, PM89996) - Sensitive information can be obtained by a local attacker because of incorrect caching by the administrative console. (CVE-2013-2976, PM79992) - An attacker may gain elevated privileges because of improper certificate checks. WS-Security and XML Digital Signatures must be enabled. (CVE-2013-4053, PM90949, PM91521) - Deserialization of a maliciously crafted OpenJPA object can result in an executable file being written to the file system. WebSphere is NOT vulnerable to this issue but the vendor suggests upgrading to be proactive. (CVE-2013-1768, PM86780, PM86786, PM86788, PM86791)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 70022
    published 2013-09-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70022
    title IBM WebSphere Application Server 6.1 < Fix Pack 47 Multiple Vulnerabilities
refmap via4
aixapar PM62467
confirm http://www.ibm.com/support/docview.wss?uid=swg21611313
xf was-dir-traversal-overwrite(77477)
Last major update 28-01-2013 - 00:00
Published 25-09-2012 - 16:55
Last modified 28-08-2017 - 21:31
Back to Top