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 from a .htaccess file, allow remote attackers to bypass safe_mod...
MediumCVSS 6.8
EPSS 5.3%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 4.0.0, <= 4.4.7 | No fix listed |
| PHP | >= 5.0.0, <= 5.2.3 | No fix listed |
References
- docs.info.apple.com third-party-advisory
- SSRT080010 broken-link vendor-advisory
- APPLE-SA-2008-03-18 mailing-list third-party-advisory vendor-advisory
- 20200918 Apache + PHP <= 7.4.10 open_basedir bypass mailing-list
- 26642 third-party-advisory
- 26822 third-party-advisory
- 26838 third-party-advisory
- 27102 third-party-advisory
- 27377 third-party-advisory
- 27648 third-party-advisory
- 28318 third-party-advisory
- 28750 third-party-advisory
- 28936 third-party-advisory
- 29420 third-party-advisory
- 30040 third-party-advisory
- securityreason.com third-party-advisory
- 20070627 PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass exploit third-party-advisory
- 2831 exploit third-party-advisory
- 3389 exploit third-party-advisory
- SSA:2008-045-03 mailing-list third-party-advisory vendor-advisory
- GLSA-200710-02 third-party-advisory vendor-advisory
- [oss-security] 20200917 Apache + PHP <= 7.4.10 open_basedir bypass mailing-list
- 38682 broken-link vdb-entry
- www.php.net patch vendor-advisory
- www.php.net patch vendor-advisory
- www.php.net patch vendor-advisory
- www.php.net patch vendor-advisory
- www.php.net patch vendor-advisory
- 20070627 PHP 4/5 htaccess safemode and open_basedir Bypass mailing-list third-party-advisory vdb-entry
- SSRT080056 third-party-advisory vdb-entry vendor-advisory
- 24661 patch third-party-advisory vdb-entry
- 25498 patch third-party-advisory vdb-entry
- 2007-0026 broken-link vendor-advisory
- ADV-2007-3023 permissions-required third-party-advisory vdb-entry
- ADV-2008-0059 permissions-required third-party-advisory vdb-entry
- ADV-2008-0398 permissions-required third-party-advisory vdb-entry
- ADV-2008-0924 permissions-required third-party-advisory vdb-entry
- php-htaccess-security-bypass(35102) third-party-advisory vdb-entry
- php-sessionsavepath-errorlog-security-bypass(39403) third-party-advisory vdb-entry
- issues.rpath.com broken-link
- issues.rpath.com broken-link
- oval:org.mitre.oval:def:6056 signature third-party-advisory vdb-entry