Struts Multiple Directory Traversal Vulnerabilities

BID:32104

Info

Struts Multiple Directory Traversal Vulnerabilities

Bugtraq ID: 32104
Class: Input Validation Error
CVE: CVE-2008-6505
Remote: Yes
Local: No
Published: Nov 04 2008 12:00AM
Updated: Apr 16 2015 05:52PM
Credit: Csaba Barta and László Tóth, PricewaterhouseCoopers
Vulnerable: VMWare vCenter Orchestrator 4.1
VMWare vCenter Orchestrator 4.0
Apache Software Foundation Struts 2.0.11 .2
Apache Software Foundation Struts 2.0.9
Apache Software Foundation Struts 2.0.8
Apache Software Foundation Struts 2.0.7
Apache Software Foundation Struts 2.0.6
Apache Software Foundation Struts 2.0.5
Apache Software Foundation Struts 2.0.4
Apache Software Foundation Struts 2.0.3
Apache Software Foundation Struts 2.0.2
Apache Software Foundation Struts 2.0.1
Apache Software Foundation Struts 2.0
Not Vulnerable: Apache Software Foundation Struts 2.0.12

Discussion

Struts Multiple Directory Traversal Vulnerabilities

Struts is prone to multiple directory-traversal vulnerabilities because the application fails to sufficiently sanitize user-supplied input.

An attacker can exploit these issues using directory-traversal strings ('../') to download arbitrary files with the privileges of the webserver process. Information obtained may aid in further attacks.

Versions prior to Struts 2.0.12 are vulnerable.

Exploit / POC

Struts Multiple Directory Traversal Vulnerabilities

Attackers can use a browser to exploit these issues.

The following example URIs are available:

http://www.example.com:8080/struts2-blank-2.0.11.1/struts..
http://www.example.com:8080/struts2-blank-2.0.11.1/struts/..%252f
http://www.example.com:8080/struts2-blank-2.0.11.1/struts/..%252f..%252f..%252fWEB-INF/classess/example/Log\in.class/

Solution / Fix

Struts Multiple Directory Traversal Vulnerabilities

Solution:
The vendor has released Struts 2.0.12 to address these issues. Please see the references for more information.


Apache Software Foundation Struts 2.0

Apache Software Foundation Struts 2.0.1

Apache Software Foundation Struts 2.0.11 .2

Apache Software Foundation Struts 2.0.2

Apache Software Foundation Struts 2.0.3

Apache Software Foundation Struts 2.0.4

Apache Software Foundation Struts 2.0.5

Apache Software Foundation Struts 2.0.6

Apache Software Foundation Struts 2.0.7

Apache Software Foundation Struts 2.0.8

Apache Software Foundation Struts 2.0.9

References

Struts Multiple Directory Traversal Vulnerabilities

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report