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…
Noroxi assessment
Priority: Monitor (action score 19/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 7.9% (FIRST EPSS); higher than 94.8% of all records.
- Fixed version: php4 (Debian:4.0) 6:4.4.4-8+etch6; php5 (Debian:4.0) 5.2.0-8+etch9; php5 (Debian:5.0) 5.2.3-1+lenny1.
Low priority for now. Upgrade to php4 (Debian:4.0) 6:4.4.4-8+etch6; php5 (Debian:4.0) 5.2.0-8+etch9; php5 (Debian:5.0) 5.2.3-1+lenny1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 16, 2007
- Updated
- Jun 16, 2026
- EPSS
- 7.9% · 94th percentile
- CWE
- CWE-20
Report tools
Action score
19
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php4.0
- php php4.0.0
- php php4.0.1
- php php4.0.2
- php php4.0.3
- php php4.0.4
- php php4.0.5
- php php4.0.6
+12 more rows
- php php4.0.7
- php php4.1.0
- php php4.1.1
- php php4.1.2
- php php4.2.0
- php php4.2.1
- php php4.2.2
- php php4.2.3
- php php4.3.0
- php php4.3.1
- php php4.3.10
- php php4.3.11
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | php4 | before 6:4.4.4-8+etch6 | 6:4.4.4-8+etch6 |
| Debian:4.0 | php5 | before 5.2.0-8+etch9 | 5.2.0-8+etch9 |
| Debian:5.0 | php5 | before 5.2.3-1+lenny1 | 5.2.3-1+lenny1 |
| Red Hat:enterprise_linux:2.1::as | php | before 0:4.1.2-2.19 | 0:4.1.2-2.19 |
| Red Hat:enterprise_linux:2.1::as | php-devel | before 0:4.1.2-2.19 | 0:4.1.2-2.19 |
| Red Hat:enterprise_linux:2.1::as | php-imap | before 0:4.1.2-2.19 | 0:4.1.2-2.19 |
| Red Hat:enterprise_linux:2.1::as | php-ldap | before 0:4.1.2-2.19 | 0:4.1.2-2.19 |
| Red Hat:enterprise_linux:2.1::as | php-manual | before 0:4.1.2-2.19 | 0:4.1.2-2.19 |
| Red Hat:enterprise_linux:2.1::as | php-mysql | before 0:4.1.2-2.19 | 0:4.1.2-2.19 |
| Red Hat:enterprise_linux:2.1::as | php-odbc | before 0:4.1.2-2.19 | 0:4.1.2-2.19 |
| Red Hat:enterprise_linux:2.1::as | php-pgsql | before 0:4.1.2-2.19 | 0:4.1.2-2.19 |
| Red Hat:enterprise_linux:3::as | php | before 0:4.3.2-43.ent | 0:4.3.2-43.ent |
| Red Hat:enterprise_linux:3::as | php-debuginfo | before 0:4.3.2-43.ent | 0:4.3.2-43.ent |
| Red Hat:enterprise_linux:3::as | php-devel | before 0:4.3.2-43.ent | 0:4.3.2-43.ent |
| Red Hat:enterprise_linux:3::as | php-imap | before 0:4.3.2-43.ent | 0:4.3.2-43.ent |
| Red Hat:enterprise_linux:3::as | php-ldap | before 0:4.3.2-43.ent | 0:4.3.2-43.ent |
| Red Hat:enterprise_linux:3::as | php-mysql | before 0:4.3.2-43.ent | 0:4.3.2-43.ent |
| Red Hat:enterprise_linux:3::as | php-odbc | before 0:4.3.2-43.ent | 0:4.3.2-43.ent |
| Red Hat:enterprise_linux:3::as | php-pgsql | before 0:4.3.2-43.ent | 0:4.3.2-43.ent |
| Red Hat:enterprise_linux:4::as | php | before 0:4.3.9-3.22.9 | 0:4.3.9-3.22.9 |
| Red Hat:enterprise_linux:4::as | php-debuginfo | before 0:4.3.9-3.22.9 | 0:4.3.9-3.22.9 |
| Red Hat:enterprise_linux:4::as | php-devel | before 0:4.3.9-3.22.9 | 0:4.3.9-3.22.9 |
| Red Hat:enterprise_linux:4::as | php-domxml | before 0:4.3.9-3.22.9 | 0:4.3.9-3.22.9 |
| Red Hat:enterprise_linux:4::as | php-gd | before 0:4.3.9-3.22.9 | 0:4.3.9-3.22.9 |
+70
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2007-3378Jun 29, 2007 · The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked…29Monitor
- ← EarlierCVE-2007-3790Jul 15, 2007 · The com_print_typeinfo function in the bz2 extension in PHP 5.2.3 allows context-dependent attackers to cause a denial of service via a…24Monitor
- Later →CVE-2007-3806Jul 16, 2007 · The glob function in PHP 5.2.3 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via an…30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:php4 | 6:4.4.4-8+etch6 · Debian:4.0 | Package registry (OSV) |
| debian:php5 | 5.2.0-8+etch9 · Debian:4.0 | Package registry (OSV) |
| red hat:php | 0:4.1.2-2.19 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:php-debuginfo | 0:4.3.2-43.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-devel | 0:4.1.2-2.19 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:php-domxml | 0:4.3.9-3.22.9 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-gd | 0:4.3.9-3.22.9 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-imap | 0:4.1.2-2.19 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:php-ldap | 0:4.1.2-2.19 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:php-manual | 0:4.1.2-2.19 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:php-mbstring | 0:4.3.9-3.22.9 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-mysql | 0:4.1.2-2.19 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:php-odbc | 0:4.1.2-2.19 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:php-pgsql | 0:4.1.2-2.19 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2007-06-04 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-43 d
- Published
- TodayNov 16, 2026+7062 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- osvdb.org/36855
- rhn.redhat.com/errata/RHSA-2007-0889.html
- secunia.com/advisories/26871
- secunia.com/advisories/26895
- secunia.com/advisories/26930
- secunia.com/advisories/26967
- secunia.com/advisories/27351
- secunia.com/advisories/27377
- secunia.com/advisories/27545
- secunia.com/advisories/27864
- secunia.com/advisories/28249
- secunia.com/advisories/29420
- secunia.com/advisories/30288
- support.avaya.com/elmodocs2/security/ASA-2007-449.htm
- www.debian.org/security/2008/dsa-1444
- www.debian.org/security/2008/dsa-1578
- www.mandriva.com/security/advisories?name=MDKSA-2007:187
- www.novell.com/linux/security/advisories/2007_15_sr.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.