CVE-2014-8684 CodeIgniter and Kohana vulnerable to PHP Object Injection
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.
| Package | Affected | Fixed in |
|---|---|---|
codeigniter/framework Packagist | All versions | 3.0.0 |
codeigniter/framework Packagist | All versions | 3.0.0 |
kohana/core Packagist | All versions | 3.3.3 |
kohana/core Packagist | All versions | 3.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-w9ph-q4h9-rwq6.