VDB
Sign up
HIGH7.5

GHSA-j8p3-8m69-2hqq

CakePHP allows remote attackers to spoof their IP

Quick fix

GHSA-j8p3-8m69-2hqq — cakephp/cakephp: upgrade to the fixed version with the command below.

composer require cakephp/cakephp:^2.6.13

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/cakephp/cakephp
Introduced in: 1.2.0Fixed in: 2.6.13
Fixcomposer require cakephp/cakephp:^2.6.13
Packagist/cakephp/cakephp
Introduced in: 2.7.0-rc1Fixed in: 2.7.11
Fixcomposer require cakephp/cakephp:^2.7.11
Packagist/cakephp/cakephp
Introduced in: 2.8.0-rc1Fixed in: 2.8.2
Fixcomposer require cakephp/cakephp:^2.8.2
Packagist/cakephp/cakephp
Introduced in: 3.0.0-rc1Fixed in: 3.0.17
Fixcomposer require cakephp/cakephp:^3.0.17
Packagist/cakephp/cakephp
Introduced in: 3.1.0-beta1Fixed in: 3.1.12
Fixcomposer require cakephp/cakephp:^3.1.12
Packagist/cakephp/cakephp
Introduced in: 3.2.0-rc1Fixed in: 3.2.5
Fixcomposer require cakephp/cakephp:^3.2.5

References