CVE-2015-2171 Slim vulnerable to PHP object injection
Remote attackers can execute arbitrary PHP code via crafted session data in the Slim framework's session middleware.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-2171?
CVE-2015-2171 is a high-severity unsafe deserialization vulnerability in n/a, published on 30 Mar 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Middleware/SessionCookie.php in Slim before 2.6.0 allows remote attackers to conduct PHP object injection attacks and execute arbitrary PHP code via crafted session data.
Weakness: CWE-94
Which versions are affected by CVE-2015-2171?
2 open source packages ship an affected version, including slim/slim. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
slim/slim Packagist | All versions | 2.6.0 |
slim/slim Packagist | All versions | 2.6.0 |
Products include Slimframework Slim.
How do I fix CVE-2015-2171?
Upgrade slim/slim to 2.6.0 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2015-2171 being exploited?
There is no known exploitation of CVE-2015-2171 in the wild and no public exploit code.
Sources
Also known as GHSA-74mf-vjpg-9xh7.