{"id":"GHSA-j8p3-8m69-2hqq","aliases":["CVE-2016-4793"],"title":"CakePHP allows remote attackers to spoof their IP","description":"The `clientIp` function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the `CLIENT-IP HTTP` header.","severity":"high","score":7.5,"published":"2022-05-14T02:19:19.000Z","modified":"2024-02-18T05:33:47.156Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"cakephp/cakephp","ranges":[{"events":[{"introduced":"1.2.0"},{"fixed":"2.6.13"}],"type":"ECOSYSTEM"}],"versions":["2.4.10","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","2.5.0","2.5.0-RC1","2.5.0-RC2","2.5.0-beta","2.5.1","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","2.5.9","2.6.0","2.6.0-RC1","2.6.0-beta","2.6.1","2.6.10","2.6.11","2.6.12","2.6.2","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9"],"fixed":["2.6.13"]},{"ecosystem":"Packagist","name":"cakephp/cakephp","ranges":[{"events":[{"introduced":"2.7.0-rc1"},{"fixed":"2.7.11"}],"type":"ECOSYSTEM"}],"versions":["2.7.0","2.7.1","2.7.10","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9"],"fixed":["2.7.11"]},{"ecosystem":"Packagist","name":"cakephp/cakephp","ranges":[{"events":[{"introduced":"2.8.0-rc1"},{"fixed":"2.8.2"}],"type":"ECOSYSTEM"}],"versions":["2.8.0","2.8.0-RC1","2.8.1"],"fixed":["2.8.2"]},{"ecosystem":"Packagist","name":"cakephp/cakephp","ranges":[{"events":[{"introduced":"3.0.0-rc1"},{"fixed":"3.0.17"}],"type":"ECOSYSTEM"}],"versions":["3.0.0","3.0.0-RC1","3.0.0-RC2","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9"],"fixed":["3.0.17"]},{"ecosystem":"Packagist","name":"cakephp/cakephp","ranges":[{"events":[{"introduced":"3.1.0-beta1"},{"fixed":"3.1.12"}],"type":"ECOSYSTEM"}],"versions":["3.1.0","3.1.0-RC1","3.1.0-beta2","3.1.1","3.1.10","3.1.11","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"fixed":["3.1.12"]},{"ecosystem":"Packagist","name":"cakephp/cakephp","ranges":[{"events":[{"introduced":"3.2.0-rc1"},{"fixed":"3.2.5"}],"type":"ECOSYSTEM"}],"versions":["3.2.0","3.2.0-RC1","3.2.1","3.2.2","3.2.3","3.2.4"],"fixed":["3.2.5"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2016-4793","https://github.com/cakephp/cakephp/commit/908754649f70bab2b1093942e17c9a46a2fcf6c2","https://bakery.cakephp.org/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html","https://github.com/cakephp/cakephp","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"],"sources":[{"name":"OSV","id":"GHSA-j8p3-8m69-2hqq","modified":"2024-02-18T05:33:47.156722Z","url":"https://osv.dev/vulnerability/GHSA-j8p3-8m69-2hqq"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5}]}