CVE-2007-3799 json
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…
published 2007-07-16 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-3783
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.9%
- EPSS 7.9% chance of exploitation in 30 days, percentile 94%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- php RHEL 2 APPLICATION_STACK 5.2.3-3.el5s2
- php-gd RHEL 2 APPLICATION_STACK 5.2.3-3.el5s2
- php-cli RHEL 2 APPLICATION_STACK 5.2.3-3.el5s2
- php-dba RHEL 2 APPLICATION_STACK 5.2.3-3.el5s2
- php-pdo RHEL 2 APPLICATION_STACK 5.2.3-3.el5s2
- php-xml RHEL 2 APPLICATION_STACK 5.2.3-3.el5s2
- php-imap RHEL 2 APPLICATION_STACK 5.2.3-3.el5s2
- php-ldap RHEL 2 APPLICATION_STACK 5.2.3-3.el5s2
red hat advisories RHSA-2007:0917RHSA-2007:0891RHSA-2007:0890RHSA-2007:0889RHSA-2007:0888
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-3799 updated
php cross-site cookie insertion
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) php 5.1.6-3.el4s1.8, php-gd 5.1.6-3.el4s1.8, php-cli 5.1.6-3.el4s1.8, php-dba 5.1.6-3.el4s1.8, php-pdo 5.1.6-3.el4s1.8, php-xml 5.1.6-3.el4s1.8, +12 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) php 5.1.6-3.el4s1.8, php-gd 5.1.6-3.el4s1.8, php-cli 5.1.6-3.el4s1.8, php-dba 5.1.6-3.el4s1.8, php-pdo 5.1.6-3.el4s1.8, php-xml 5.1.6-3.el4s1.8, +12 morefixed: vendor fix RHSA-2007:0891
-
Red Hat Desktop version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.entfixed: vendor fix RHSA-2007:0889
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-15.el5, php-gd 5.1.6-15.el5, php-cli 5.1.6-15.el5, php-dba 5.1.6-15.el5, php-pdo 5.1.6-15.el5, php-xml 5.1.6-15.el5, +12 morefixed: vendor fix RHSA-2007:0890
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 php 4.1.2-2.19, php-imap 4.1.2-2.19, php-ldap 4.1.2-2.19, php-odbc 4.1.2-2.19, php-mysql 4.1.2-2.19, php-pgsql 4.1.2-2.19, +1 morefixed: vendor fix RHSA-2007:0888
-
Red Hat Enterprise Linux AS version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.entfixed: vendor fix RHSA-2007:0889
-
Red Hat Enterprise Linux AS version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +7 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-15.el5, php-gd 5.1.6-15.el5, php-cli 5.1.6-15.el5, php-dba 5.1.6-15.el5, php-pdo 5.1.6-15.el5, php-xml 5.1.6-15.el5, +12 morefixed: vendor fix RHSA-2007:0890
-
Red Hat Enterprise Linux ES version 2.1 php 4.1.2-2.19, php-imap 4.1.2-2.19, php-ldap 4.1.2-2.19, php-odbc 4.1.2-2.19, php-mysql 4.1.2-2.19, php-pgsql 4.1.2-2.19, +1 morefixed: vendor fix RHSA-2007:0888
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.entfixed: vendor fix RHSA-2007:0889
show 5 moreshow fewer
-
Red Hat Enterprise Linux ES version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +7 morefixed: vendor fix RHSA-2007:0890
-
Red Hat Enterprise Linux WS version 2.1 php 4.1.2-2.19, php-imap 4.1.2-2.19, php-ldap 4.1.2-2.19, php-odbc 4.1.2-2.19, php-mysql 4.1.2-2.19, php-pgsql 4.1.2-2.19, +1 morefixed: vendor fix RHSA-2007:0888
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.entfixed: vendor fix RHSA-2007:0889
-
Red Hat Enterprise Linux WS version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +7 morefixed: vendor fix RHSA-2007:0890
-
Red Hat Linux Advanced Workstation 2.1 php 4.1.2-2.19, php-imap 4.1.2-2.19, php-ldap 4.1.2-2.19, php-odbc 4.1.2-2.19, php-mysql 4.1.2-2.19, php-pgsql 4.1.2-2.19, +1 morefixed: vendor fix RHSA-2007:0888
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-30130)
- Published
Exploit prediction
7.92% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-30130 PHP 5.2.3 - EXT/Session HTTP Response Header Injection remote, 2007-06-04
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
redhat.com
/support/errata/RHSA-2007-0888.html
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-September/msg00354.html
vendor-advisory
-
debian.org
/security/2008/dsa-1444
vendor-advisory
-
lists.apple.com
/archives/security-announce/2008/Mar/msg00001.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2007-0889.html
vendor-advisory
-
usn.ubuntu.com
/549-1/
vendor-advisory
-
debian.org
/security/2008/dsa-1578
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:187
vendor-advisory
-
ubuntu.com
/usn/usn-549-2
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0890.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0891.html
vendor-advisory
-
novell.com
/linux/security/advisories/2007_15_sr.html
vendor-advisory
-
secunia.com
/advisories/30288
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26967
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27351
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2008/0924/references
vdb-entry, vendor-advisory
-
secunia.com
/advisories/27864
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26930
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/29420
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/28249
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27545
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27377
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26895
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26871
third-party-advisory, vendor-advisory
- launchpad.net /bugs/173043
-
securityfocus.com
/bid/24268
vdb-entry
- issues.rpath.com /browse/RPL-1693
- support.avaya.com /elmodocs2/security/ASA-2007-449.htm
-
osvdb.org
/36855
vdb-entry
- php-security.org /MOPB/PMOPB-46-2007.html
- docs.info.apple.com /article.html?artnum=307562
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9792
vdb-entry, signature
Sources
- CVE List CVE-2007-3799
- NVD CVE-2007-3799
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.