CVE-2016-4793
HIGH 7.5CVSS 3.0CakePHP allows remote attackers to spoof their IP
The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.
- Published
- 23 Jan 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-j8p3-8m69-2hqq
- Sources
- NVDJSONOSV GHSA-j8p3-8m69-2hqqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:* |
<= 3.2.4 | |
| OSV | Packagist | cakephp/cakephp | >= 1.2.0, < 2.6.13 | 2.6.13 |
| OSV | Packagist | cakephp/cakephp | >= 2.7.0-rc1, < 2.7.11 | 2.7.11 |
| OSV | Packagist | cakephp/cakephp | >= 2.8.0-rc1, < 2.8.2 | 2.8.2 |
| OSV | Packagist | cakephp/cakephp | >= 3.0.0-rc1, < 3.0.17 | 3.0.17 |
| OSV | Packagist | cakephp/cakephp | >= 3.1.0-beta1, < 3.1.12 | 3.1.12 |
| OSV | Packagist | cakephp/cakephp | >= 3.2.0-rc1, < 3.2.5 | 3.2.5 |
References
- http://legalhackers.com/advisories/CakePHP-IP-Spoofing-Vulnerability.txt · Exploit, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/95846 · WEB
- https://bakery.cakephp.org/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html · Patch, Vendor Advisory, WEB
- https://support.citrix.com/article/CTX236992 · WEB
- https://www.exploit-db.com/exploits/39813/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-4793 · ADVISORY
- https://github.com/cakephp/cakephp/commit/908754649f70bab2b1093942e17c9a46a2fcf6c2 · WEB
- https://github.com/cakephp/cakephp · PACKAGE
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 23 Jan 2017)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)