CVE-2007-3378
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
5.331%
chance of exploitation in the next 30 days
higher than 92.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0
Weakness
Timeline
- 2007-06-29Published by the CNA18:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | from 4.0.0 through 4.4.7no fix listedfrom 5.0.0 through 5.2.3no fix listed | not listednot listed |
References
- http://www.php.net/ChangeLog-4.php
- http://www.php.net/ChangeLog-5.php#5.2.4
- http://www.php.net/ChangeLog-5.php#5.2.5
- http://www.php.net/releases/4_4_8.php
- http://www.php.net/releases/5_2_4.php
- http://www.php.net/releases/5_2_5.php
- http://www.securityfocus.com/bid/24661
- http://www.securityfocus.com/bid/25498
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.securityfocus.com/archive/1/491693/100/0/threaded
- http://www.trustix.org/errata/2007/0026/
- http://securityreason.com/achievement_securityalert/45
- http://securityreason.com/securityalert/2831
- http://securityreason.com/securityalert/3389
- http://docs.info.apple.com/article.html?artnum=307562
- http://seclists.org/fulldisclosure/2020/Sep/34
- http://secunia.com/advisories/26642
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2007-3378'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2007-3378'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2007-3378'curl 'https://api.contrastcyber.com/cve_products/CVE-2007-3378'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).