CVE-2016-6795: Path Traversal
In Apache Struts 2.3.x before 2.3.31, and 2.5.x before 2.5.5, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side. This vulnerability is only exploitable when using the Struts 2 Convention plugin in conjunction with Apache Struts.
Other sources
In the Convention plugin in Apache Struts 2.3.x before 2.3.31, and 2.5.x before 2.5.5, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side.
— NVD
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2016-6795?
CVE-2016-6795 has a critical severity rating due to its potential for remote code execution.
How do I fix CVE-2016-6795?
To fix CVE-2016-6795, upgrade to Apache Struts 2.5.5 or 2.3.31 or later versions.
Which Apache Struts versions are affected by CVE-2016-6795?
CVE-2016-6795 affects Apache Struts versions 2.3.x before 2.3.31 and 2.5.x before 2.5.5.
Can CVE-2016-6795 be exploited without the Convention plugin?
No, CVE-2016-6795 is only exploitable when the Struts 2 Convention plugin is in use.
What is the impact if CVE-2016-6795 is exploited?
Exploitation of CVE-2016-6795 can lead to path traversal and execution of arbitrary code on the server.