Back
CVE-2007-3378
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…
Medium6.8EPSS 5.3%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 5.3% · top 7.4% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
References (43)
- 2831 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- http://www.php.net/ChangeLog-5.php#5.2.5 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 26822 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 28750 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2008-0059 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- php-sessionsavepath-errorlog-security-bypass(39403) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- GLSA-200710-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- ADV-2008-0924 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://securityreason.com/achievement_exploitalert/9 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.php.net/releases/4_4_8.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- SSA:2008-045-03 (opens in a new tab)vendor-advisoryx_refsource_SLACKWAREx_transferred
- 30040 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2008-0398 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.php.net/releases/5_2_5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.php.net/ChangeLog-5.php#5.2.4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 28936 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 2007-0026 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- 29420 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- APPLE-SA-2008-03-18 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- https://issues.rpath.com/browse/RPL-1693 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SSRT080056 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 3389 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 27648 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20070627 PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- https://issues.rpath.com/browse/RPL-1702 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 26838 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 27377 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20070627 PHP 4/5 htaccess safemode and open_basedir Bypass (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- php-htaccess-security-bypass(35102) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- http://docs.info.apple.com/article.html?artnum=307562 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.php.net/ChangeLog-4.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 27102 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-3023 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.php.net/releases/5_2_4.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- SSRT080010 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 28318 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25498 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- oval:org.mitre.oval:def:6056 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 26642 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 24661 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 38682 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- [oss-security] 20200917 Apache + PHP <= 7.4.10 open_basedir bypass (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20200918 Apache + PHP <= 7.4.10 open_basedir bypass (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-3378)Record last updated .