MEDIUM
GHSA-6hg4-vp5q-47mw
CakePHP allows direct access of prefixed controller actions
Quick fix
GHSA-6hg4-vp5q-47mw — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^2.0.99Details
Unconventional URL paths would allow direct access to prefixed actions without setting the correct request parameters.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/cakephp/cakephp
Introduced in:
2.0.0Fixed in: 2.0.99Fix
composer require cakephp/cakephp:^2.0.99Packagist/cakephp/cakephp
Introduced in:
2.1.0Fixed in: 2.1.99Fix
composer require cakephp/cakephp:^2.1.99Packagist/cakephp/cakephp
Introduced in:
2.2.0Fixed in: 2.2.99Fix
composer require cakephp/cakephp:^2.2.99Packagist/cakephp/cakephp
Introduced in:
2.3.0Fixed in: 2.3.99Fix
composer require cakephp/cakephp:^2.3.99Packagist/cakephp/cakephp
Introduced in:
2.4.0Fixed in: 2.4.99Fix
composer require cakephp/cakephp:^2.4.99Packagist/cakephp/cakephp
Introduced in:
2.5.0Fixed in: 2.5.9Fix
composer require cakephp/cakephp:^2.5.9Packagist/cakephp/cakephp
Introduced in:
2.6.0Fixed in: 2.6.11Fix
composer require cakephp/cakephp:^2.6.11Packagist/cakephp/cakephp
Introduced in:
2.7.0Fixed in: 2.7.2Fix
composer require cakephp/cakephp:^2.7.2References
- https://github.com/cakephp/cakephp/commit/056f24a77428ad35e23cab6840a72b7c25c4ccc0[WEB]
- https://bakery.cakephp.org/2015/08/06/cakephp_2_5_9_2_6_10_2_7_2_released.html[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/2015-08-06.yaml[WEB]
- https://github.com/cakephp/cakephp[PACKAGE]
- https://github.com/cakephp/cakephp/releases/tag/2.5.9[WEB]
- https://github.com/cakephp/cakephp/releases/tag/2.6.11[WEB]
- https://github.com/cakephp/cakephp/releases/tag/2.7.2[WEB]