CakePHP: Open redirect weakness via backslash bypass
cakephp authentication
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cakephp/authentication Packagist |
|
|
Original description
CakePHP Authentication is an authentication plugin for CakePHP that can also be used in PSR-7 based applications. Prior to 2.11.1, 3.3.6, and 4.1.1, the getLoginRedirect() method contains a weakness to backslash bypasses that allows redirect targets with attacker-controlled hostnames through the redirect query string parameter. This issue is fixed in versions 2.11.1, 3.3.6, and 4.1.1.