GitHub Advisory Database
GHSA-7pq2-fhx9-x464
Apache Shiro’s Jakarta EE module used the HTTP Referer header in certain cases to issue redirect after a user login
Details
Apache Shiro’s Jakarta EE module used the HTTP Referer header in certain cases to issue redirect after a user login. In affected versions, insufficient validation of this client-controlled value could allow an attacker to influence the redirect target in applications using the Jakarta EE module. This issue affects Apache Shiro from 2.0-alpha to 2.2.0, and 3.0.0-alpha-1, only when using shiro-jakarta-ee integration module.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.shiro:shiro-jakarta-ee | From 2.0-alpha before 2.2.1 (fixed in 2.2.1) |
| Maven | org.apache.shiro:shiro-jakarta-ee | From 3.0.0-alpha-0 before 3.0.0-alpha-2 (fixed in 3.0.0-alpha-2) |