MEDIUM
GHSA-829q-v5g8-hhxc
CakePHP has incorrect Cross-Site Request Forgery validation
Quick fix
GHSA-829q-v5g8-hhxc — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^3.0.4Details
CsrfComponent fails to invalidate requests that are missing both the CSRF token, and CSRF post data.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/cakephp/cakephp
Introduced in:
3.0.0Fixed in: 3.0.4Fix
composer require cakephp/cakephp:^3.0.4References
- https://github.com/cakephp/cakephp/commit/522ed2f1fb49b00001c1ef8815a6feda790d61dd[WEB]
- https://bakery.cakephp.org/2015/05/07/cakephp_3_0_4_released.html[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/2015-05-07.yaml[WEB]
- https://github.com/cakephp/cakephp[PACKAGE]