CVE-2016-6795
Path Traversal in Apache Struts
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-convention-plugin | >= 2.3.0, < 2.3.31>= 2.5.0, < 2.5.5 | 2.3.31, 2.5.5 |
Blast radius
24% of the dependent artifacts (18) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 498 |
| 2 hops | 343 |
| 3 hops | 128 |
Most used dependents
- org.egov » egov-egi32 usages
- org.egov » egov-eis14 usages
- org.onebusaway » onebusaway-presentation10 usages
- org.egov » egov-collection8 usages
- org.egov » egov-egf8 usages
- org.egov » egov-portal7 usages
- org.onebusaway » onebusaway-nyc-presentation5 usages
- org.egov » egov-commons5 usages
- org.egov » egov-demand5 usages
- org.egov » egov-ptis5 usages
- org.egov » egov-pgr4 usages
- org.egov » egov-assets3 usages
- org.egov » egov-wtms3 usages
- org.onebusaway » onebusaway-nyc-api-core2 usages
- org.onebusaway » onebusaway-nyc-tdm-adapters2 usages
Computed from the dependency graph of build 20261205.2030 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2016-6795 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 8e67b91 | github.com |
| Web | apache/struts commit c1869f4 | github.com |
| Web | advisory/ntap-20180629-0003 | security.netapp.com |
| Web | docs/s2-042.html | struts.apache.org |
| Web | web/20200227214705/http:/www.securityfocus.com/bid/93773 | web.archive.org |
