ADVISORIES

GitHub Advisory Database

GHSA-j8p3-8m69-2hqq

CakePHP allows remote attackers to spoof their IP

Details

The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.

Affected packages

EcosystemPackageAffected versions
Packagistcakephp/cakephp
From 1.2.0 before 2.6.13 (fixed in 2.6.13)
Packagistcakephp/cakephp
From 2.7.0-rc1 before 2.7.11 (fixed in 2.7.11)
Packagistcakephp/cakephp
From 2.8.0-rc1 before 2.8.2 (fixed in 2.8.2)
Packagistcakephp/cakephp
From 3.0.0-rc1 before 3.0.17 (fixed in 3.0.17)
Packagistcakephp/cakephp
From 3.1.0-beta1 before 3.1.12 (fixed in 3.1.12)
Packagistcakephp/cakephp
From 3.2.0-rc1 before 3.2.5 (fixed in 3.2.5)

References