MEDIUM
GHSA-j9q2-f9q7-jhgq
CakePHP SecurityComponent cross form submission issue
Quick fix
GHSA-j9q2-f9q7-jhgq — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^2.4.8Details
Prior to versions 2.4.8 and 1.3.18, forms secured by SecurityComponent could be submitted to any action without triggering SecurityComponent’s tampering protection. If an application contained multiple POST forms to manipulate the same models, it could be vulnerable to mass assignment issues.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/cakephp/cakephp
Introduced in:
2.0.0Fixed in: 2.4.8Fix
composer require cakephp/cakephp:^2.4.8Packagist/cakephp/cakephp
Introduced in:
1.3.0Fixed in: 1.3.18Fix
composer require cakephp/cakephp:^1.3.18References
- https://github.com/cakephp/cakephp/commit/f23d811ff59c50ef278e98bb75f4ec1e7e54a5b3[WEB]
- https://bakery.cakephp.org/2014/04/29/CakePHP-1-3-18-and-2-4-8-released.html[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/2014-04-29.yaml[WEB]
- https://github.com/cakephp/cakephp[PACKAGE]