Apache Shiro: Jakarta EE open redirect via untrusted Referer in post-login redirect flow
Apache Software Foundation Apache Shiro
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.shiro:shiro-jakarta-ee Maven |
|
|
Original description
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.