Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐘 Packagist

CVE-2016-4793

HIGH

CakePHP allows remote attackers to spoof their IP

Also known asGHSA-j8p3-8m69-2hqq
Published
Jan 23, 2017
Updated
Apr 10, 2026
Affected
6 pkgs
Patched
6 / 6
Exploits
3 known

EPSS Exploitation Probability

via FIRST.org ↗
5.1%probability of exploitation in next 30 days
Lower Risk91th percentile-3.13%
4.21%5.88%7.54%9.21%8.3%5.1%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

6 pkgs affected
🐘cakephp/cakephp🐘cakephp/cakephp🐘cakephp/cakephp🐘cakephp/cakephp🐘cakephp/cakephp🐘cakephp/cakephp

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

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

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistcakephp/cakephp1.2.0&&< 2.6.132.6.13
🐘Packagistcakephp/cakephp2.7.0-rc1&&< 2.7.112.7.11
🐘Packagistcakephp/cakephp2.8.0-rc1&&< 2.8.22.8.2
🐘Packagistcakephp/cakephp3.0.0-rc1&&< 3.0.173.0.17
🐘Packagistcakephp/cakephp3.1.0-beta1&&< 3.1.123.1.12
🐘Packagistcakephp/cakephp3.2.0-rc1&&< 3.2.53.2.5
Exploits & PoCs
3

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-39813webappsphp

CakePHP Framework 3.2.4 - IP Spoofing

by Dawid Golunski · May 16, 2016

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for cakephp/cakephp. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update cakephp/cakephp to 2.6.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-4793 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether CVE-2016-4793 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to CVE-2016-4793. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.
O3 Security · Impact-Aware SCA

Is CVE-2016-4793 in your dependencies?

O3 detects CVE-2016-4793 across Packagist dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.