CVE-2016-4793 json
CakePHP allows remote attackers to spoof their IP
published 2017-01-23 9 y ago modified 2026-06-17 4 mo ago also GHSA-j8p3-8m69-2hqq , EUVD-2022-4314
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 1
- Exploit-DB
Summary
The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.
Patch / fix
- packagist cakephp/cakephp 2.6.13, 2.7.11, 2.8.2, 3.0.17, 3.1.12, 3.2.5
- cakephp Debian 11 2.8.3-1
debian advisories DEBIAN-CVE-2016-4793
- cakephp Ubuntu 14.04 LTS 1.3.15-1+deb7u2build0.14.04.1
- cakephp Ubuntu Pro 16.04 LTS 2.8.0-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2016-4793
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Timeline
- First public exploit (EDB-39813)
- Published
Exploit prediction
5.15% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-39813 CakePHP Framework 3.2.4 - IP Spoofing webapps, 2016-05-16
- legalhackers.com http://legalhackers.com/advisories/CakePHP-IP-Spoofing-Vulnerability.txt referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | cakephp/cakephp | >=1.2.0, <2.6.13 >=2.7.0-rc1, <2.7.11 >=2.8.0-rc1, <2.8.2 >=3.0.0-rc1, <3.0.17 >=3.1.0-beta1, <3.1.12 >=3.2.0-rc1, <3.2.5 |
2.6.13 2.7.11 2.8.2 3.0.17 3.1.12 3.2.5 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
bakery.cakephp.org
/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html
web, patch, vendor-advisory
-
github.com
/cakephp/cakephp/commit/908754649f70bab2b1093942e17c9a46a2fcf6c2
web
-
exploit-db.com
/exploits/39813/
exploit, third-party-advisory
-
legalhackers.com
/advisories/CakePHP-IP-Spoofing-Vulnerability.txt
web, exploit, third-party-advisory
-
support.citrix.com
/article/CTX236992
web
-
securityfocus.com
/bid/95846
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2016-4793
advisory
-
github.com
/cakephp/cakephp
package
-
exploit-db.com
/exploits/39813
web
Sources
- CVE List CVE-2016-4793
- GitHub Advisory GHSA-j8p3-8m69-2hqq
- NVD CVE-2016-4793
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.