7.5high

CVE-2016-47931 exploit

CakePHP allows remote attackers to spoof their IP

Also known as GHSA-j8p3-8m69-2hqq

Published 9 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
5.1%
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.

Exploit prediction (EPSS)

5.15% probability of exploitation in the next 30 days, higher than 92% of all scored CVEs.

Exploits and detections

  • EDB-39813 CakePHP Framework 3.2.4 - IP Spoofing · webapps · 2016-05-16

CVSS scores

Assigned byVersionScoreVector
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
packagistcakephp/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

  • support.citrix.com /article/CTX236992 · x_refsource_CONFIRM, x_transferred
  • exploit-db.com /exploits/39813/ · exploit, x_refsource_EXPLOIT-DB, x_transferred
  • legalhackers.com /advisories/CakePHP-IP-Spoofing-Vulnerability.txt · x_refsource_MISC, x_transferred
  • securityfocus.com /bid/95846 · vdb-entry, x_refsource_BID, x_transferred
  • bakery.cakephp.org /2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-4793 · advisory
  • github.com /cakephp/cakephp/commit/908754649f70bab2b1093942e17c9a46a2fcf6c2 · web
  • github.com /cakephp/cakephp · package
  • exploit-db.com /exploits/39813 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.