CWE
22
Advisory Published
Advisory Published
Updated

CVE-2016-6795: Path Traversal

First published: Wed Sep 20 2017(Updated: )

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.

Credit: security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
maven/org.apache.struts:struts2-convention-plugin>=2.5.0<2.5.5
2.5.5
maven/org.apache.struts:struts2-convention-plugin>=2.3.0<2.3.31
2.3.31
=2.3.20
=2.3.20.1
=2.3.20.2
=2.3.20.3
=2.3.21
=2.3.22
=2.3.23
=2.3.24
=2.3.24.1
=2.3.24.2
=2.3.24.3
=2.3.25
=2.3.26
=2.3.27
=2.3.28
=2.3.28.1
=2.3.29
=2.3.30
Apache Struts=2.3.20
Apache Struts=2.3.20.1
Apache Struts=2.3.20.2
Apache Struts=2.3.20.3
Apache Struts=2.3.21
Apache Struts=2.3.22
Apache Struts=2.3.23
Apache Struts=2.3.24
Apache Struts=2.3.24.1
Apache Struts=2.3.24.2
Apache Struts=2.3.24.3
Apache Struts=2.3.25
Apache Struts=2.3.26
Apache Struts=2.3.27
Apache Struts=2.3.28
Apache Struts=2.3.28.1
Apache Struts=2.3.29
Apache Struts=2.3.30

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203