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

Details

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.99
Fixcomposer require cakephp/cakephp:^2.0.99
Packagist/cakephp/cakephp
Introduced in: 2.1.0Fixed in: 2.1.99
Fixcomposer require cakephp/cakephp:^2.1.99
Packagist/cakephp/cakephp
Introduced in: 2.2.0Fixed in: 2.2.99
Fixcomposer require cakephp/cakephp:^2.2.99
Packagist/cakephp/cakephp
Introduced in: 2.3.0Fixed in: 2.3.99
Fixcomposer require cakephp/cakephp:^2.3.99
Packagist/cakephp/cakephp
Introduced in: 2.4.0Fixed in: 2.4.99
Fixcomposer require cakephp/cakephp:^2.4.99
Packagist/cakephp/cakephp
Introduced in: 2.5.0Fixed in: 2.5.9
Fixcomposer require cakephp/cakephp:^2.5.9
Packagist/cakephp/cakephp
Introduced in: 2.6.0Fixed in: 2.6.11
Fixcomposer require cakephp/cakephp:^2.6.11
Packagist/cakephp/cakephp
Introduced in: 2.7.0Fixed in: 2.7.2
Fixcomposer require cakephp/cakephp:^2.7.2

References