HighGHSA-j8p3-8m69-2hqqCVE-2016-4793
CakePHP allows remote attackers to spoof their IP
Published 14 May 2022 · Updated 18 Feb 2024
Affected packages
cakephp/cakephpComposer
- Affected
- >=1.2.0 <2.6.13
- Fixed in
- 2.6.13
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.6.13cakephp/cakephpComposer
- Affected
- >=2.7.0-rc1 <2.7.11
- Fixed in
- 2.7.11
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.7.11cakephp/cakephpComposer
- Affected
- >=2.8.0-rc1 <2.8.2
- Fixed in
- 2.8.2
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.8.2cakephp/cakephpComposer
- Affected
- >=3.0.0-rc1 <3.0.17
- Fixed in
- 3.0.17
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^3.0.17cakephp/cakephpComposer
- Affected
- >=3.1.0-beta1 <3.1.12
- Fixed in
- 3.1.12
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^3.1.12cakephp/cakephpComposer
- Affected
- >=3.2.0-rc1 <3.2.5
- Fixed in
- 3.2.5
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^3.2.5Details
The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.
Is GHSA-j8p3-8m69-2hqq in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cakephp/cakephp, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-4793
- Linkgithub.com/cakephp/cakephp/commit/908754649f70bab2b1093942e17c9a46a2fcf6c2
- Linkbakery.cakephp.org/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html
- Packagegithub.com/cakephp/cakephp
- Linksupport.citrix.com/article/CTX236992
- Linkwww.exploit-db.com/exploits/39813
- Linklegalhackers.com/advisories/CakePHP-IP-Spoofing-Vulnerability.txt
- Linkwww.securityfocus.com/bid/95846
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.