GitHub Advisoryadvisory · Maven
GHSA-44hv-jjx7-qfjg Path Traversal in Apache Struts
CRITICAL
Official page ↗
- Aliases
- CVE-2016-6795
- Ecosystem
- Maven
- Packages
- org.apache.struts:struts2-convention-plugin
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22
- Reviewed
- 2022-11-03
Affected packages
• Maven org.apache.struts:struts2-convention-plugin: >= 2.3.0, < 2.3.31 → fixed in 2.3.31
• Maven org.apache.struts:struts2-convention-plugin: >= 2.5.0, < 2.5.5 → fixed in 2.5.5
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.
Related
Alias · CVE (1)
- CVE-2016-6795 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… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-6795 advisory
- https://github.com/apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab web
- https://github.com/apache/struts/commit/c1869f4989942dd33fa4e189e0ac1f766fb5ac14 web
- https://github.com/apache/struts package
- https://security.netapp.com/advisory/ntap-20180629-0003 web
- https://struts.apache.org/docs/s2-042.html web
- https://web.archive.org/web/20200227214705/http://www.securityfocus.com/bid/93773 web