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

High 7.5 Published Updated

Remote attackers can spoof their IP address by manipulating the CLIENT-IP HTTP header in CakePHP applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-4793?

CVE-2016-4793 is a high-severity vulnerability in n/a, published on 23 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-20

Which versions are affected by CVE-2016-4793?

12 open source packages ship an affected version, including cakephp/cakephp. It affects 1 product.

PackageAffectedFixed in
cakephp/cakephp PackagistFrom 1.2.02.6.13
cakephp/cakephp PackagistFrom 1.2.02.6.13
cakephp/cakephp PackagistFrom 2.7.0-rc12.7.11
cakephp/cakephp PackagistFrom 2.7.0-rc12.7.11
cakephp/cakephp PackagistFrom 2.8.0-rc12.8.2
cakephp/cakephp PackagistFrom 2.8.0-rc12.8.2
6 more packages
cakephp/cakephp PackagistFrom 3.0.0-rc13.0.17
cakephp/cakephp PackagistFrom 3.0.0-rc13.0.17
cakephp/cakephp PackagistFrom 3.1.0-beta13.1.12
cakephp/cakephp PackagistFrom 3.1.0-beta13.1.12
cakephp/cakephp PackagistFrom 3.2.0-rc13.2.5
cakephp/cakephp PackagistFrom 3.2.0-rc13.2.5

Products include Cakephp Cakephp.

How do I fix CVE-2016-4793?

Upgrade cakephp/cakephp to a fixed version for your release line: 2.6.13, 2.7.11, 2.8.2 or 3.0.17.

Is CVE-2016-4793 being exploited?

There is no known exploitation of CVE-2016-4793 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2016-4793, DLA-835-1, GHSA-j8p3-8m69-2hqq, UBUNTU-CVE-2016-4793.

Is CVE-2016-4793 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free