GitHub Advisory Database
GHSA-pmhc-2g4f-85cg
Path Traversal in Apache Shiro
Details
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+
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.shiro:shiro-web | All versions before 1.12.0 (fixed in 1.12.0) |
| Maven | org.apache.shiro:shiro-web | From 2.0.0-alpha-1 before 2.0.0-alpha-3 (fixed in 2.0.0-alpha-3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-34478
- https://github.com/apache/shiro/commit/c3ede3f94efb442acb0795714a022c2c121d1da0
- https://github.com/apache/shiro
- https://lists.apache.org/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk
- https://security.netapp.com/advisory/ntap-20230915-0005
- http://www.openwall.com/lists/oss-security/2023/07/24/4