Apache Shiro Path Traversal Auth Bypass (v<1.12.0 / 2.0.0-alpha-3)
CVE-2023-34478 Published on July 24, 2023
Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.
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+
Vulnerability Analysis
CVE-2023-34478 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2023-34478 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2023-34478
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-34478 are published in these products:
Affected Versions
Apache Software Foundation Apache Shiro:- Before 1.12.0 is affected.
- Before 2.0.0-alpha-3 is affected.
- Before 1.12.0 is affected.
- Version 2.0.0alpha1 is affected.
- Version 2.0.0alpha2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.