Apache Software Foundation Apache Shiro
Apache Shiro: Authentication bypass in Guice-Web integration
When using Apache Shiro with the shiro-guice module in a web servlet context, a specially crafted HTTP request may cause an authentication bypass. This vulnerability is similar to https://www.cve.org/CVERecord?id=CVE-2020-1957 https://www.cve.org/CVERecord , except that it affects the `shiro-guice` module instead of the `shiro-spring` module. This issue affects all Apache Shiro versions through 2.x, and 3.0.0-alpha-1 only when using `shiro-guice` module in a web servlet context. Upgrade to version 3.0.0 or later, which fixes the issue.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- <= 2.99.99
- >= 3.0.0-alpha-0, <= 3.0.0-alpha-1
- >= 2.0.0, < 3.0.0
Fixed in 3.0.0
from GitHub Security Advisory GHSA-qj64-jj84-w38j
Mitigation
Upgrade org.apache.shiro:shiro-guice to 3.0.0 or later.
References
- Vendor advisory lists.apache.org/thread/onmtxmy2qonbpx7xlw3o34x8sctv…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.