VDB
Sign up
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.8

Details

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.8
Fixcomposer require cakephp/cakephp:^2.4.8
Packagist/cakephp/cakephp
Introduced in: 1.3.0Fixed in: 1.3.18
Fixcomposer require cakephp/cakephp:^1.3.18

References