MEDIUM
GHSA-p76f-wr22-4rv6
CakePHP vulnerable to Remote File Inclusion through View template name manipulation
Quick fix
GHSA-p76f-wr22-4rv6 — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^2.0.99Details
CakePHP 2.x prior to 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.99, 2.6.12, and 2.7.6 and 3.x prior to 3.0.15 and 3.1.4 is vulnerable to Remote File Inclusion through View template name manipulation.
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.99Fix
composer require cakephp/cakephp:^2.5.99Packagist/cakephp/cakephp
Introduced in:
2.6.0Fixed in: 2.6.12Fix
composer require cakephp/cakephp:^2.6.12Packagist/cakephp/cakephp
Introduced in:
2.7.0Fixed in: 2.7.6Fix
composer require cakephp/cakephp:^2.7.6Packagist/cakephp/cakephp
Introduced in:
3.0.0Fixed in: 3.0.15Fix
composer require cakephp/cakephp:^3.0.15Packagist/cakephp/cakephp
Introduced in:
3.1.0Fixed in: 3.1.4Fix
composer require cakephp/cakephp:^3.1.4References
- https://github.com/cakephp/cakephp/commit/5e60cc5d182e6131e3fbdfdf69f49d560c9ff78b[WEB]
- https://bakery.cakephp.org/2015/11/05/cakephp_3015_314_2612_276_released.html[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/2015-11-05.yaml[WEB]
- https://github.com/cakephp/cakephp[PACKAGE]