9.8crit
CVE-2016-6795
Path Traversal in Apache Struts
Also known as GHSA-44hv-jjx7-qfjg
Published 9 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
8.2%
percentile 95%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
8.22% probability of exploitation in the next 30 days, higher than 95% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.struts:struts2-convention-plugin | >=2.3.0, <2.3.31 >=2.5.0, <2.5.5 | 2.3.31 2.5.5 |
Affected products
- Apache Software Foundation Apache Struts
Classification
- Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- securityfocus.com /bid/93773 · vdb-entry, x_refsource_BID, x_transferred
- struts.apache.org /docs/s2-042.html · x_refsource_CONFIRM, x_transferred
- security.netapp.com /advisory/ntap-20180629-0003/ · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-6795 · advisory
- github.com /apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab · web
- github.com /apache/struts/commit/c1869f4989942dd33fa4e189e0ac1f766fb5ac14 · web
- github.com /apache/struts · package
- security.netapp.com /advisory/ntap-20180629-0003 · web
- web.archive.org /web/20200227214705/http://www.securityfocus.com/bid/93773 · web
Sources
- CVE List: CVE-2016-6795
- GitHub Advisory: GHSA-44hv-jjx7-qfjg
- NVD: CVE-2016-6795
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.