CVE-2014-8684 CodeIgniter and Kohana vulnerable to PHP Object Injection

Critical 9.8 Published Updated

Remote attackers can spoof session cookies to trigger PHP object injection and execute arbitrary code due to insecure hash comparison.

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

What is CVE-2014-8684?

CVE-2014-8684 is a critical unsafe deserialization vulnerability in n/a, published on 19 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CodeIgniter before 3.0 and Kohana 3.2.3 and earlier and 3.3.x through 3.3.2 make it easier for remote attackers to spoof session cookies and consequently conduct PHP object injection attacks by leveraging use of standard string comparison operators to compare cryptographic hashes.

Weakness: CWE-310

Which versions are affected by CVE-2014-8684?

4 open source packages ship an affected version, including codeigniter/framework and kohana/core. It affects 2 products.

PackageAffectedFixed in
codeigniter/framework PackagistAll versions3.0.0
codeigniter/framework PackagistAll versions3.0.0
kohana/core PackagistAll versions3.3.3
kohana/core PackagistAll versions3.3.3

Products include Codeigniter Codeigniter, Kohanaframework Kohana.

How do I fix CVE-2014-8684?

Upgrade codeigniter/framework to 3.0.0 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2014-8684 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-8684 exists.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

Sources

Also known as GHSA-w9ph-q4h9-rwq6.

Is CVE-2014-8684 in your software?

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

Check your SBOMs for free