php session.save_path/error_log safe mode bypass
Published Jun 29, 2007
6.8
MEDIUMCVSS 2.0
EPSS 5.33%
Description
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.
Affected products
Remediation
Red Hat statement
We do not consider this to be security issues. For more details see: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and https://www.php.net/security-note.php
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.33% (0.05331) | 92.36th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.33% (0.05331) | 91.54th | v5 (v2026.06.15) |
| Jun 5, 2025 | 3.37% (0.03373) | 86.75th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.68% (0.01683) | 80.52th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.52% (0.03521) | 79.17th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.68% (0.01683) | 80.94th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.49% (0.01491) | 87.37th | v3 (v2023.03.01) |
| Jul 17, 2024 | 1.69% (0.01692) | 87.89th | v3 (v2023.03.01) |
| Jun 9, 2024 | 0.99% (0.00993) | 83.58th | v3 (v2023.03.01) |
| May 2, 2024 | 0.87% (0.00870) | 82.22th | v3 (v2023.03.01) |
| Mar 25, 2024 | 0.95% (0.00954) | 82.86th | v3 (v2023.03.01) |
| Feb 16, 2024 | 1.79% (0.01794) | 87.70th | v3 (v2023.03.01) |
| Jul 5, 2023 | 1.68% (0.01676) | 85.93th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.55% (0.01551) | 85.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.36% (0.04358) | 88.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.36% (0.04358) | 86.83th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.36% (0.04358) | 70.59th | v2 (v2022.01.01) |
References (47)
- http://docs.info.apple.com/article.html?artnum=307562 x_refsource_CONFIRMThird Party Advisory
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501 vendor-advisoryx_refsource_HPBroken Link
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2020/Sep/34 mailing-listx_refsource_FULLDISC
- http://secunia.com/advisories/26642 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/26822 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/26838 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/27102 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/27377 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/27648 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28318 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28750 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28936 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/29420 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/30040 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://securityreason.com/achievement_exploitalert/9 x_refsource_MISCThird Party Advisory
- http://securityreason.com/achievement_securityalert/45 third-party-advisoryx_refsource_SREASONRESExploitThird Party Advisory
- http://securityreason.com/securityalert/2831 third-party-advisoryx_refsource_SREASONExploitThird Party Advisory
- http://securityreason.com/securityalert/3389 third-party-advisoryx_refsource_SREASONExploitThird Party Advisory
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 vendor-advisoryx_refsource_SLACKWAREMailing ListThird Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml vendor-advisoryx_refsource_GENTOOThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/09/17/3 mailing-listx_refsource_MLIST
- http://www.osvdb.org/38682 vdb-entryx_refsource_OSVDBBroken Link
- http://www.php.net/ChangeLog-4.php x_refsource_CONFIRMPatchVendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.4 x_refsource_CONFIRMPatchVendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.5 x_refsource_CONFIRMPatchVendor Advisory
- http://www.php.net/releases/4_4_8.php x_refsource_CONFIRMPatchVendor Advisory
- http://www.php.net/releases/5_2_4.php x_refsource_CONFIRMPatchVendor Advisory
- http://www.php.net/releases/5_2_5.php x_refsource_CONFIRMPatchVendor Advisory
- http://www.securityfocus.com/archive/1/472343/100/0/threaded mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/archive/1/491693/100/0/threaded vendor-advisoryx_refsource_HPThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/24661 vdb-entryx_refsource_BIDPatchThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/25498 vdb-entryx_refsource_BIDPatchThird Party AdvisoryVDB Entry
- http://www.trustix.org/errata/2007/0026/ vendor-advisoryx_refsource_TRUSTIXBroken Link
- http://www.vupen.com/english/advisories/2007/3023 vdb-entryx_refsource_VUPENPermissions RequiredThird Party Advisory
- http://www.vupen.com/english/advisories/2008/0059 vdb-entryx_refsource_VUPENPermissions RequiredThird Party Advisory
- http://www.vupen.com/english/advisories/2008/0398 vdb-entryx_refsource_VUPENPermissions RequiredThird Party Advisory
- http://www.vupen.com/english/advisories/2008/0924/references vdb-entryx_refsource_VUPENPermissions RequiredThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2007-3378 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=278071 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35102 vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39403 vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry
- https://issues.rpath.com/browse/RPL-1693 x_refsource_CONFIRMBroken Link
- https://issues.rpath.com/browse/RPL-1702 x_refsource_CONFIRMBroken Link
- https://nvd.nist.gov/vuln/detail/CVE-2007-3378
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056 vdb-entrysignaturex_refsource_OVALThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2007-3378
| Link | Providers | Tags |
|---|---|---|
| http://docs.info.apple.com/article.html?artnum=307562 | x_refsource_CONFIRMThird Party Advisory | |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501 | vendor-advisoryx_refsource_HPBroken Link | |
| http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html | vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory | |
| http://seclists.org/fulldisclosure/2020/Sep/34 | mailing-listx_refsource_FULLDISC | |
| http://secunia.com/advisories/26642 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/26822 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/26838 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/27102 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/27377 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/27648 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/28318 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/28750 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/28936 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/29420 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://secunia.com/advisories/30040 | third-party-advisoryx_refsource_SECUNIAThird Party Advisory | |
| http://securityreason.com/achievement_exploitalert/9 | x_refsource_MISCThird Party Advisory | |
| http://securityreason.com/achievement_securityalert/45 | third-party-advisoryx_refsource_SREASONRESExploitThird Party Advisory | |
| http://securityreason.com/securityalert/2831 | third-party-advisoryx_refsource_SREASONExploitThird Party Advisory | |
| http://securityreason.com/securityalert/3389 | third-party-advisoryx_refsource_SREASONExploitThird Party Advisory | |
| http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 | vendor-advisoryx_refsource_SLACKWAREMailing ListThird Party Advisory | |
| http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2020/09/17/3 | mailing-listx_refsource_MLIST | |
| http://www.osvdb.org/38682 | vdb-entryx_refsource_OSVDBBroken Link | |
| http://www.php.net/ChangeLog-4.php | x_refsource_CONFIRMPatchVendor Advisory | |
| http://www.php.net/ChangeLog-5.php#5.2.4 | x_refsource_CONFIRMPatchVendor Advisory | |
| http://www.php.net/ChangeLog-5.php#5.2.5 | x_refsource_CONFIRMPatchVendor Advisory | |
| http://www.php.net/releases/4_4_8.php | x_refsource_CONFIRMPatchVendor Advisory | |
| http://www.php.net/releases/5_2_4.php | x_refsource_CONFIRMPatchVendor Advisory | |
| http://www.php.net/releases/5_2_5.php | x_refsource_CONFIRMPatchVendor Advisory | |
| http://www.securityfocus.com/archive/1/472343/100/0/threaded | mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry | |
| http://www.securityfocus.com/archive/1/491693/100/0/threaded | vendor-advisoryx_refsource_HPThird Party AdvisoryVDB Entry | |
| http://www.securityfocus.com/bid/24661 | vdb-entryx_refsource_BIDPatchThird Party AdvisoryVDB Entry | |
| http://www.securityfocus.com/bid/25498 | vdb-entryx_refsource_BIDPatchThird Party AdvisoryVDB Entry | |
| http://www.trustix.org/errata/2007/0026/ | vendor-advisoryx_refsource_TRUSTIXBroken Link | |
| http://www.vupen.com/english/advisories/2007/3023 | vdb-entryx_refsource_VUPENPermissions RequiredThird Party Advisory | |
| http://www.vupen.com/english/advisories/2008/0059 | vdb-entryx_refsource_VUPENPermissions RequiredThird Party Advisory | |
| http://www.vupen.com/english/advisories/2008/0398 | vdb-entryx_refsource_VUPENPermissions RequiredThird Party Advisory | |
| http://www.vupen.com/english/advisories/2008/0924/references | vdb-entryx_refsource_VUPENPermissions RequiredThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2007-3378 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=278071 | Issue Tracking | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/35102 | vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/39403 | vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry | |
| https://issues.rpath.com/browse/RPL-1693 | x_refsource_CONFIRMBroken Link | |
| https://issues.rpath.com/browse/RPL-1702 | x_refsource_CONFIRMBroken Link | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-3378 | ||
| https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056 | vdb-entrysignaturex_refsource_OVALThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2007-3378 |
Change history (0)
No recorded changes yet.