Vulnerabilityin the cakephp/cakephp package.
Proof of concept public (Exploit-DB).
The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.
- Upgrade cakephp/cakephp (Packagist) to 2.6.13, 2.7.11, 2.8.2, 3.0.17, 3.1.12 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 12 May 2016CVE ID reserved by mitre.
- 23 Jan 2017Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- support.citrix.com x_refsource_CONFIRM
- legalhackers.com x_refsource_MISC
- www.securityfocus.com vdb-entry, x_refsource_BID
- bakery.cakephp.org x_refsource_CONFIRM
Patchminder. CVE-2016-4793: Vulnerability in the cakephp/cakephp package. https://patchminder.com/cve/cve-2016-4793/ (accessed 5 December 2026).