The clientIp
function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP
header.
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-4793
- https://bakery.cakephp.org/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html
- https://support.citrix.com/article/CTX236992
- https://www.exploit-db.com/exploits/39813/
- http://legalhackers.com/advisories/CakePHP-IP-Spoofing-Vulnerability.txt
- http://www.securityfocus.com/bid/95846
- https://github.com/advisories/GHSA-j8p3-8m69-2hqq