CVE-2007-3378 json
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 fro…
published 2007-06-29 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-3368
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.3%
- EPSS 5.3% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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 from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess.
Patch / fix
- php.net/ChangeLog-5.php#5.2.5 advisory
- php.net/releases/4_4_8.php advisory
- php.net/releases/5_2_5.php advisory
- php.net/ChangeLog-4.php advisory
- php.net/releases/5_2_4.php advisory
- securityfocus.com/bid/25498 advisory
- securityfocus.com/bid/24661 advisory
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-3378 updated
php session.save_path/error_log safe mode bypass
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
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
Exploit prediction
5.33% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securityreason.com http://securityreason.com/securityalert/2831 referenced PoC, tagged "exploit" by a source, unverified
- securityreason.com http://securityreason.com/securityalert/3389 referenced PoC, tagged "exploit" by a source, unverified
- securityreason.com http://securityreason.com/achievement_securityalert/45 referenced PoC, tagged "exploit" by a source, unverified
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-264 Permissions, Privileges, and Access Controls
- Technology feeds
References
-
php.net
/ChangeLog-5.php#5.2.5
patch, vendor-advisory
-
php.net
/releases/4_4_8.php
patch, vendor-advisory
-
php.net
/releases/5_2_5.php
patch, vendor-advisory
-
php.net
/ChangeLog-5.php#5.2.4
patch, vendor-advisory
-
php.net
/ChangeLog-4.php
patch, vendor-advisory
-
php.net
/releases/5_2_4.php
patch, vendor-advisory
-
securityfocus.com
/bid/25498
vdb-entry, patch, third-party-advisory
-
securityfocus.com
/bid/24661
vdb-entry, patch, third-party-advisory
-
securityreason.com
/securityalert/2831
third-party-advisory, exploit
-
securityreason.com
/securityalert/3389
third-party-advisory, exploit
-
securityreason.com
/achievement_securityalert/45
third-party-advisory, exploit
-
gentoo.org
/security/en/glsa/glsa-200710-02.xml
vendor-advisory, third-party-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
vendor-advisory, mailing-list, third-party-advisory
-
trustix.org
/errata/2007/0026/
vendor-advisory, broken-link
-
lists.apple.com
/archives/security-announce/2008/Mar/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
securityfocus.com
/archive/1/491693/100/0/threaded
vendor-advisory, third-party-advisory, vdb-entry
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?objectID=c01345501
vendor-advisory, broken-link
-
secunia.com
/advisories/26822
third-party-advisory
-
secunia.com
/advisories/28750
third-party-advisory
-
vupen.com
/english/advisories/2008/0059
vdb-entry, permissions-required, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/39403
vdb-entry, third-party-advisory
-
vupen.com
/english/advisories/2008/0924/references
vdb-entry, permissions-required, third-party-advisory
-
securityreason.com
/achievement_exploitalert/9
third-party-advisory
-
secunia.com
/advisories/30040
third-party-advisory
-
vupen.com
/english/advisories/2008/0398
vdb-entry, permissions-required, third-party-advisory
-
secunia.com
/advisories/28936
third-party-advisory
-
secunia.com
/advisories/29420
third-party-advisory
- issues.rpath.com /browse/RPL-1693
-
secunia.com
/advisories/27648
third-party-advisory
- issues.rpath.com /browse/RPL-1702
-
secunia.com
/advisories/26838
third-party-advisory
-
secunia.com
/advisories/27377
third-party-advisory
-
securityfocus.com
/archive/1/472343/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/35102
vdb-entry, third-party-advisory
-
docs.info.apple.com
/article.html?artnum=307562
third-party-advisory
-
secunia.com
/advisories/27102
third-party-advisory
-
vupen.com
/english/advisories/2007/3023
vdb-entry, permissions-required, third-party-advisory
-
secunia.com
/advisories/28318
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056
vdb-entry, signature
-
secunia.com
/advisories/26642
third-party-advisory
- seclists.org /fulldisclosure/2020/Sep/34
- openwall.com /lists/oss-security/2020/09/17/3
-
osvdb.org
/38682
broken-link
Sources
- CVE List CVE-2007-3378
- NVD CVE-2007-3378
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.