Skip to content
Fencer Vulns
high 7.5

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

  1. First public exploit (EDB-39813)
  2. 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

Sources

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.