the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : 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_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess.
Publish Date : 2007-06-29 Last Update Date : 2018-10-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access User
Vulnerability Type(s) Execute CodeBypass a restriction or similar
CWE ID CWE id is not defined for this vulnerability

- Vendor Statements

We do not consider this to be security issues. For more details see: and
Source: Redhat

- Related OVAL Definitions

Title Definition Id Class Family
HP-UX Running Apache, Remote Execution of Arbitrary Code oval:org.mitre.oval:def:6056 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2007-3378

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 4.4.7 Version Details Vulnerabilities
2 Application PHP PHP 5.2.3 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions

- References For CVE-2007-3378 CONFIRM CONFIRM
XF php-sessionsavepath-errorlog-security-bypass(39403)
VUPEN ADV-2008-0398
VUPEN ADV-2008-0924
XF php-htaccess-security-bypass(35102)
VUPEN ADV-2008-0059
BID 25498 PHP 5.2.3 and Prior Versions Multiple Vulnerabilities Release Date:2009-10-09
TRUSTIX 2007-0026
VUPEN ADV-2007-3023
BID 24661 PHP .Htaccess Safe_Mode and Open_Basedir Restriction-Bypass Vulnerability Release Date:2008-05-20
BUGTRAQ 20070627 PHP 4/5 htaccess safemode and open_basedir Bypass
SREASONRES 20070627 PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass
GENTOO GLSA-200710-02

- Metasploit Modules Related To CVE-2007-3378

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.