CVE-2016-6795: Path Traversal

Published 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.

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

20 affected componentsFixes available
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
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

Event History

Sep 20, 2017
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionWeakness
May 14, 2022
Advisory Published
12:54 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-6795?

CVE-2016-6795 has a critical severity rating due to its potential for remote code execution.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203