The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.
https://github.com/advisories/GHSA-j8p3-8m69-2hqq
https://www.exploit-db.com/exploits/39813/
https://support.citrix.com/article/CTX236992
https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-4314
https://bakery.cakephp.org/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html
http://www.securityfocus.com/bid/95846
http://legalhackers.com/advisories/CakePHP-IP-Spoofing-Vulnerability.txt