CVE-2016-4793: CakePHP allows remote attackers to spoof their IP

Published Jan 23, 2017
·
Updated

CakePHP allows remote attackers to spoof their IP

Other sources

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

— GitHub

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

— Ubuntu

Affected Software

16 affected componentsFixes available
CakePHP CakePHP<=3.2.4
composer/cakephp/cakephp>=3.2.0-rc1, <3.2.5
3.2.5
composer/cakephp/cakephp>=3.1.0-beta1, <3.1.12
3.1.12
composer/cakephp/cakephp>=3.0.0-rc1, <3.0.17
3.0.17
composer/cakephp/cakephp>=2.8.0-rc1, <2.8.2
2.8.2
composer/cakephp/cakephp>=2.7.0-rc1, <2.7.11
2.7.11
composer/cakephp/cakephp>=1.2.0, <2.6.13
2.6.13
composer/cakephp/cakephp>=3.2.0-rc1<3.2.5
3.2.5
composer/cakephp/cakephp>=3.1.0-beta1<3.1.12
3.1.12
composer/cakephp/cakephp>=3.0.0-rc1<3.0.17
3.0.17
composer/cakephp/cakephp>=2.8.0-rc1<2.8.2
2.8.2
composer/cakephp/cakephp>=2.7.0-rc1<2.7.11
2.7.11
composer/cakephp/cakephp>=1.2.0<2.6.13
2.6.13
ubuntu/cakephp<1.3.15-1+deb7u2build0.14.04.1
1.3.15-1+deb7u2build0.14.04.1
ubuntu/cakephp*
debian/cakephp

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/cakephp/cakephp to a version that resolves this vulnerability.

    Fixed in 3.2.5
  2. Upgrade

    Upgrade composer/cakephp/cakephp to a version that resolves this vulnerability.

    Fixed in 3.1.12
  3. Upgrade

    Upgrade composer/cakephp/cakephp to a version that resolves this vulnerability.

    Fixed in 3.0.17
  4. Upgrade

    Upgrade composer/cakephp/cakephp to a version that resolves this vulnerability.

    Fixed in 2.8.2
  5. Upgrade

    Upgrade composer/cakephp/cakephp to a version that resolves this vulnerability.

    Fixed in 2.7.11
  6. Upgrade

    Upgrade composer/cakephp/cakephp to a version that resolves this vulnerability.

    Fixed in 2.6.13
  7. Upgrade

    Upgrade ubuntu/cakephp to a version that resolves this vulnerability.

    Fixed in 1.3.15-1+deb7u2build0.14.04.1
  8. Upgrade

    Upgrade ubuntu/cakephp to a version that resolves this vulnerability.

    Fixed in 2.8.0-1ubuntu0.1~esm1

Event History

Jan 23, 2017
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via OSV·09:59 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 14, 2022
Advisory Published
via GitHub·02:19 AM
Data Sourced
via GitHub·02:19 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·02:19 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2016-4793?

CVE-2016-4793 has a moderate severity rating as it allows remote attackers to spoof IP addresses.

2

How do I fix CVE-2016-4793?

To fix CVE-2016-4793, upgrade CakePHP to version 3.2.5 or later where the vulnerability is addressed.

3

What is the impact of CVE-2016-4793 on my application?

The impact of CVE-2016-4793 includes the potential for attackers to impersonate legitimate users by spoofing their IP addresses.

4

Which versions of CakePHP are affected by CVE-2016-4793?

CVE-2016-4793 affects all versions of CakePHP up to and including 3.2.4.

5

Is CVE-2016-4793 publicly known?

Yes, CVE-2016-4793 is publicly known and documented in various security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203