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

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
6.8
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: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php
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
PHP PHP 2

- References For CVE-2007-3378

https://issues.rpath.com/browse/RPL-1702 CONFIRM
https://issues.rpath.com/browse/RPL-1693 CONFIRM
https://exchange.xforce.ibmcloud.com/vulnerabilities/39403
XF php-sessionsavepath-errorlog-security-bypass(39403)
http://www.vupen.com/english/advisories/2008/0398
VUPEN ADV-2008-0398
http://www.vupen.com/english/advisories/2008/0924/references
VUPEN ADV-2008-0924
https://exchange.xforce.ibmcloud.com/vulnerabilities/35102
XF php-htaccess-security-bypass(35102)
http://www.vupen.com/english/advisories/2008/0059
VUPEN ADV-2008-0059
http://www.securityfocus.com/bid/25498
BID 25498 PHP 5.2.3 and Prior Versions Multiple Vulnerabilities Release Date:2009-10-09
http://www.trustix.org/errata/2007/0026/
TRUSTIX 2007-0026
http://www.vupen.com/english/advisories/2007/3023
VUPEN ADV-2007-3023
http://www.securityfocus.com/bid/24661
BID 24661 PHP .Htaccess Safe_Mode and Open_Basedir Restriction-Bypass Vulnerability Release Date:2008-05-20
http://www.securityfocus.com/archive/1/472343/100/0/threaded
BUGTRAQ 20070627 PHP 4/5 htaccess safemode and open_basedir Bypass
http://www.securityfocus.com/archive/1/491693/100/0/threaded
HP HPSBUX02332
http://www.php.net/releases/5_2_5.php CONFIRM
http://www.php.net/releases/5_2_4.php CONFIRM
http://www.php.net/ChangeLog-4.php CONFIRM
http://www.php.net/ChangeLog-5.php#5.2.4 CONFIRM
http://securityreason.com/achievement_securityalert/45
SREASONRES 20070627 PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass
http://securityreason.com/securityalert/2831
SREASON 2831
http://securityreason.com/securityalert/3389
SREASON 3389
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
SLACKWARE SSA:2008-045-03
http://securityreason.com/achievement_exploitalert/9
http://www.php.net/releases/4_4_8.php CONFIRM
http://www.php.net/ChangeLog-5.php#5.2.5 CONFIRM
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
GENTOO GLSA-200710-02
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
APPLE APPLE-SA-2008-03-18
http://docs.info.apple.com/article.html?artnum=307562 CONFIRM
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501
HP HPSBUX02308

- Metasploit Modules Related To CVE-2007-3378

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com 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.