What’s Vulnerable › Vulnerabilities
CVE-2007-3378
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2007-06-29 · updated 2026-06-16
- Weakness: CWE-264
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
- PHP: from 4.0.0 through 4.4.7; from 5.0.0 through 5.2.3
References
- http://docs.info.apple.com/article.html?artnum=307562
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- http://seclists.org/fulldisclosure/2020/Sep/34
- http://secunia.com/advisories/26642
- http://secunia.com/advisories/26822
- http://secunia.com/advisories/26838
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27377
- http://secunia.com/advisories/27648
- http://secunia.com/advisories/28318
- http://secunia.com/advisories/28750
Get alerted when CVE-2007-3378 or the next vulnerability affects your stack