CVE-2007-1701 json
PHP 4 before 4.4.5, and PHP 5 before 5.2.1, when register_globals is enabled, allows context-dependent attackers to execute arbitrary code…
published 2007-03-27 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-1695
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.4%
- EPSS 9.4% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
PHP 4 before 4.4.5, and PHP 5 before 5.2.1, when register_globals is enabled, allows context-dependent attackers to execute arbitrary code via deserialization of session data, which overwrites arbitrary global variables, as demonstrated by calling session_decode on a string beginning with "_SESSION|s:39:".
Patch / fix
- php php 4.4.5, 5.2.1
- stronghold-php RHEL 4.0 STRONGHOLD 4.1.2-12
- stronghold-php-imap RHEL 4.0 STRONGHOLD 4.1.2-12
- stronghold-php-ldap RHEL 4.0 STRONGHOLD 4.1.2-12
- stronghold-php-odbc RHEL 4.0 STRONGHOLD 4.1.2-12
- stronghold-php-snmp RHEL 4.0 STRONGHOLD 4.1.2-12
- stronghold-php-mysql RHEL 4.0 STRONGHOLD 4.1.2-12
- stronghold-php-pgsql RHEL 4.0 STRONGHOLD 4.1.2-12
- stronghold-php-manual RHEL 4.0 STRONGHOLD 4.1.2-12
red hat advisories RHSA-2007:0089RHSA-2007:0088RHSA-2007:0082RHSA-2007:0081RHSA-2007:0076
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-1701 updated
php session extension global variable clobber
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) php 5.1.6-3.el4s1.5, php-gd 5.1.6-3.el4s1.5, php-cli 5.1.6-3.el4s1.5, php-dba 5.1.6-3.el4s1.5, php-pdo 5.1.6-3.el4s1.5, php-xml 5.1.6-3.el4s1.5, +12 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) php 5.1.6-3.el4s1.5, php-gd 5.1.6-3.el4s1.5, php-cli 5.1.6-3.el4s1.5, php-dba 5.1.6-3.el4s1.5, php-pdo 5.1.6-3.el4s1.5, php-xml 5.1.6-3.el4s1.5, +12 morefixed: vendor fix RHSA-2007:0088
-
Red Hat Desktop version 3 php 4.3.2-39.ent, php-imap 4.3.2-39.ent, php-ldap 4.3.2-39.ent, php-odbc 4.3.2-39.ent, php-mysql 4.3.2-39.ent, php-pgsql 4.3.2-39.entfixed: vendor fix RHSA-2007:0076
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-7.el5, php-gd 5.1.6-7.el5, php-cli 5.1.6-7.el5, php-dba 5.1.6-7.el5, php-pdo 5.1.6-7.el5, php-xml 5.1.6-7.el5, +12 morefixed: vendor fix RHSA-2007:0082
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 php 4.1.2-2.14, php-imap 4.1.2-2.14, php-ldap 4.1.2-2.14, php-odbc 4.1.2-2.14, php-mysql 4.1.2-2.14, php-pgsql 4.1.2-2.14, +1 morefixed: vendor fix RHSA-2007:0081
-
Red Hat Enterprise Linux AS version 3 php 4.3.2-39.ent, php-imap 4.3.2-39.ent, php-ldap 4.3.2-39.ent, php-odbc 4.3.2-39.ent, php-mysql 4.3.2-39.ent, php-pgsql 4.3.2-39.ent Red Hat Enterprise Linux AS version 4 php 4.3.9-3.22.3, php-gd 4.3.9-3.22.3, php-imap 4.3.9-3.22.3, php-ldap 4.3.9-3.22.3, php-odbc 4.3.9-3.22.3, php-pear 4.3.9-3.22.3, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.22.3, php-gd 4.3.9-3.22.3, php-imap 4.3.9-3.22.3, php-ldap 4.3.9-3.22.3, php-odbc 4.3.9-3.22.3, php-pear 4.3.9-3.22.3, +7 morefixed: vendor fix RHSA-2007:0076
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-7.el5, php-gd 5.1.6-7.el5, php-cli 5.1.6-7.el5, php-dba 5.1.6-7.el5, php-pdo 5.1.6-7.el5, php-xml 5.1.6-7.el5, +12 morefixed: vendor fix RHSA-2007:0082
-
Red Hat Enterprise Linux ES version 2.1 php 4.1.2-2.14, php-imap 4.1.2-2.14, php-ldap 4.1.2-2.14, php-odbc 4.1.2-2.14, php-mysql 4.1.2-2.14, php-pgsql 4.1.2-2.14, +1 morefixed: vendor fix RHSA-2007:0081
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-39.ent, php-imap 4.3.2-39.ent, php-ldap 4.3.2-39.ent, php-odbc 4.3.2-39.ent, php-mysql 4.3.2-39.ent, php-pgsql 4.3.2-39.ent Red Hat Enterprise Linux ES version 4 php 4.3.9-3.22.3, php-gd 4.3.9-3.22.3, php-imap 4.3.9-3.22.3, php-ldap 4.3.9-3.22.3, php-odbc 4.3.9-3.22.3, php-pear 4.3.9-3.22.3, +7 morefixed: vendor fix RHSA-2007:0076
show 4 moreshow fewer
-
Red Hat Enterprise Linux WS version 2.1 php 4.1.2-2.14, php-imap 4.1.2-2.14, php-ldap 4.1.2-2.14, php-odbc 4.1.2-2.14, php-mysql 4.1.2-2.14, php-pgsql 4.1.2-2.14, +1 morefixed: vendor fix RHSA-2007:0081
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-39.ent, php-imap 4.3.2-39.ent, php-ldap 4.3.2-39.ent, php-odbc 4.3.2-39.ent, php-mysql 4.3.2-39.ent, php-pgsql 4.3.2-39.ent Red Hat Enterprise Linux WS version 4 php 4.3.9-3.22.3, php-gd 4.3.9-3.22.3, php-imap 4.3.9-3.22.3, php-ldap 4.3.9-3.22.3, php-odbc 4.3.9-3.22.3, php-pear 4.3.9-3.22.3, +7 morefixed: vendor fix RHSA-2007:0076
-
Red Hat Linux Advanced Workstation 2.1 php 4.1.2-2.14, php-imap 4.1.2-2.14, php-ldap 4.1.2-2.14, php-odbc 4.1.2-2.14, php-mysql 4.1.2-2.14, php-pgsql 4.1.2-2.14, +1 morefixed: vendor fix RHSA-2007:0081
-
Red Hat Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1) stronghold-php 4.1.2-12, stronghold-php-imap 4.1.2-12, stronghold-php-ldap 4.1.2-12, stronghold-php-odbc 4.1.2-12, stronghold-php-snmp 4.1.2-12, stronghold-php-mysql 4.1.2-12, +2 morefixed: vendor fix RHSA-2007:0089
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-3572)
- Published
Exploit prediction
9.36% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-3572 PHP < 4.4.5/5.2.1 - '_SESSION' Deserialization Overwrite local, 2007-03-25
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
- Technology feeds
References
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506
vendor-advisory, broken-link
-
security.gentoo.org
/glsa/glsa-200705-19.xml
vendor-advisory, third-party-advisory
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137
vendor-advisory, broken-link
-
securityfocus.com
/bid/23120
vdb-entry, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11034
vdb-entry, signature, third-party-advisory
-
vupen.com
/english/advisories/2007/1991
vdb-entry, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/33658
vdb-entry, third-party-advisory
-
vupen.com
/english/advisories/2007/2374
vdb-entry, third-party-advisory
-
secunia.com
/advisories/25423
third-party-advisory
-
secunia.com
/advisories/25850
third-party-advisory
-
secunia.com
/advisories/25445
third-party-advisory
-
php-security.org
/MOPB/MOPB-31-2007.html
third-party-advisory
Sources
- CVE List CVE-2007-1701
- NVD CVE-2007-1701
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.