HIGH7.5
GHSA-j8p3-8m69-2hqq
CakePHP allows remote attackers to spoof their IP
Quick fix
GHSA-j8p3-8m69-2hqq — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^2.6.13Details
The `clientIp` function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the `CLIENT-IP HTTP` header.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/cakephp/cakephp
Introduced in:
1.2.0Fixed in: 2.6.13Fix
composer require cakephp/cakephp:^2.6.13Packagist/cakephp/cakephp
Introduced in:
2.7.0-rc1Fixed in: 2.7.11Fix
composer require cakephp/cakephp:^2.7.11Packagist/cakephp/cakephp
Introduced in:
2.8.0-rc1Fixed in: 2.8.2Fix
composer require cakephp/cakephp:^2.8.2Packagist/cakephp/cakephp
Introduced in:
3.0.0-rc1Fixed in: 3.0.17Fix
composer require cakephp/cakephp:^3.0.17Packagist/cakephp/cakephp
Introduced in:
3.1.0-beta1Fixed in: 3.1.12Fix
composer require cakephp/cakephp:^3.1.12Packagist/cakephp/cakephp
Introduced in:
3.2.0-rc1Fixed in: 3.2.5Fix
composer require cakephp/cakephp:^3.2.5References
- https://nvd.nist.gov/vuln/detail/CVE-2016-4793[ADVISORY]
- https://github.com/cakephp/cakephp/commit/908754649f70bab2b1093942e17c9a46a2fcf6c2[WEB]
- https://bakery.cakephp.org/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html[WEB]
- https://github.com/cakephp/cakephp[PACKAGE]
- https://support.citrix.com/article/CTX236992[WEB]
- https://www.exploit-db.com/exploits/39813[WEB]
- http://legalhackers.com/advisories/CakePHP-IP-Spoofing-Vulnerability.txt[WEB]
- http://www.securityfocus.com/bid/95846[WEB]