GHSA-w9ph-q4h9-rwq6critical9.8
CodeIgniter and Kohana vulnerable to PHP Object Injection
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
codeigniter/framework Packagist
Ecosystem versions
Earlier releases before 3.0.0
Fixed in 3.0.0
3 explicitly affected versions
3.0rc, 3.0rc2, 3.0rc3
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0rc",
"3.0rc2",
"3.0rc3"
]
}kohana/core Packagist
Ecosystem versions
Earlier releases before 3.3.3
Fixed in 3.3.3
3 explicitly affected versions
v3.2.3, v3.3.1, v3.3.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.2.3",
"v3.3.1",
"v3.3.2"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2014-8684
- https://github.com/kohana/core/pull/492
- https://github.com/kohana/core/commit/66b409a6da2960130888989534ff1799532b8f32
- https://github.com/bcit-ci/CodeIgniter/blob/2.2.6/system/libraries/Session.php#L159
- https://web.archive.org/web/20140802041151/https://scott.arciszewski.me/research/full/php-framework-timing-attacks-object-injection
- http://packetstormsecurity.com/files/130609/Seagate-Business-NAS-Unauthenticated-Remote-Command-Execution.html
- http://seclists.org/fulldisclosure/2014/May/54