CVE-2007-3378

N/A Unknown
Published: June 29, 2007 Modified: April 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://docs.info.apple.com/article.html?artnum=307562
Source: cve@mitre.org
Third Party Advisory
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
Source: cve@mitre.org
Mailing List Third Party Advisory
http://secunia.com/advisories/26642
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/26822
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/26838
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/27102
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/27377
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/27648
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/28318
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/28750
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/28936
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/29420
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/30040
Source: cve@mitre.org
Third Party Advisory
http://securityreason.com/achievement_exploitalert/9
Source: cve@mitre.org
Third Party Advisory
http://securityreason.com/achievement_securityalert/45
Source: cve@mitre.org
Exploit Third Party Advisory
http://securityreason.com/securityalert/2831
Source: cve@mitre.org
Exploit Third Party Advisory
http://securityreason.com/securityalert/3389
Source: cve@mitre.org
Exploit Third Party Advisory
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Source: cve@mitre.org
Third Party Advisory
http://www.osvdb.org/38682
Source: cve@mitre.org
Broken Link
http://www.php.net/ChangeLog-4.php
Source: cve@mitre.org
Patch Vendor Advisory
http://www.php.net/ChangeLog-5.php#5.2.4
Source: cve@mitre.org
Patch Vendor Advisory
http://www.php.net/ChangeLog-5.php#5.2.5
Source: cve@mitre.org
Patch Vendor Advisory
http://www.php.net/releases/4_4_8.php
Source: cve@mitre.org
Patch Vendor Advisory
http://www.php.net/releases/5_2_4.php
Source: cve@mitre.org
Patch Vendor Advisory
http://www.php.net/releases/5_2_5.php
Source: cve@mitre.org
Patch Vendor Advisory
http://www.securityfocus.com/archive/1/472343/100/0/threaded
Source: cve@mitre.org
Third Party Advisory VDB Entry
http://www.securityfocus.com/archive/1/491693/100/0/threaded
Source: cve@mitre.org
Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/24661
Source: cve@mitre.org
Patch Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/25498
Source: cve@mitre.org
Patch Third Party Advisory VDB Entry
http://www.trustix.org/errata/2007/0026/
Source: cve@mitre.org
Broken Link
http://www.vupen.com/english/advisories/2007/3023
Source: cve@mitre.org
Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0059
Source: cve@mitre.org
Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0398
Source: cve@mitre.org
Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0924/references
Source: cve@mitre.org
Permissions Required Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/35102
Source: cve@mitre.org
Third Party Advisory VDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/39403
Source: cve@mitre.org
Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-1693
Source: cve@mitre.org
Broken Link
https://issues.rpath.com/browse/RPL-1702
Source: cve@mitre.org
Broken Link
http://docs.info.apple.com/article.html?artnum=307562
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2020/Sep/34
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/26642
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/26822
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/26838
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/27102
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/27377
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/27648
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/28318
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/28750
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/28936
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/29420
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/30040
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://securityreason.com/achievement_exploitalert/9
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://securityreason.com/achievement_securityalert/45
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
http://securityreason.com/securityalert/2831
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
http://securityreason.com/securityalert/3389
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/09/17/3
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.osvdb.org/38682
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://www.php.net/ChangeLog-4.php
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.php.net/ChangeLog-5.php#5.2.4
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.php.net/ChangeLog-5.php#5.2.5
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.php.net/releases/4_4_8.php
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.php.net/releases/5_2_4.php
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.php.net/releases/5_2_5.php
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.securityfocus.com/archive/1/472343/100/0/threaded
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
http://www.securityfocus.com/archive/1/491693/100/0/threaded
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/24661
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/25498
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory VDB Entry
http://www.trustix.org/errata/2007/0026/
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://www.vupen.com/english/advisories/2007/3023
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0059
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0398
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0924/references
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/35102
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/39403
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-1693
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
https://issues.rpath.com/browse/RPL-1702
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

86 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
3.6%
88th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php