apache/shiro · Security
Path Traversal in Apache Shiro
- GHSA ID
- GHSA-pmhc-2g4f-85cg
- CVE ID
- CVE-2023-34478
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.
Mitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-34478 ↗
- https://lists.apache.org/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk ↗
- http://www.openwall.com/lists/oss-security/2023/07/24/4 ↗
- https://github.com/apache/shiro/commit/c3ede3f94efb442acb0795714a022c2c121d1da0 ↗
- https://security.netapp.com/advisory/ntap-20230915-0005 ↗
- https://github.com/advisories/GHSA-pmhc-2g4f-85cg ↗