National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2007-3378 Detail

Current 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.

Source:  MITRE      Last Modified:  06/29/2007      View Analysis Description

Quick Info

CVE Dictionary Entry:
CVE-2007-3378
Original release date:
06/29/2007
Last revised:
10/10/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
6.8 MEDIUM
Vector:
(AV:N/AC:M/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
6.4
Exploitability Subscore:
8.6
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Medium
Authentication:
Not required to exploit
Impact Type:
Provides unauthorized access, Allows partial confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (07/05/2007)

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

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://docs.info.apple.com/article.html?artnum=307562 External Source CONFIRM http://docs.info.apple.com/article.html?artnum=307562
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501 External Source HP SSRT080010
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html External Source APPLE APPLE-SA-2008-03-18
http://securityreason.com/achievement_exploitalert/9 External Source MISC http://securityreason.com/achievement_exploitalert/9
http://securityreason.com/achievement_securityalert/45 External Source SREASONRES 20070627 PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass
http://securityreason.com/securityalert/2831 External Source SREASON 2831
http://securityreason.com/securityalert/3389 External Source SREASON 3389
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 External Source SLACKWARE SSA:2008-045-03
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml External Source GENTOO GLSA-200710-02
http://www.php.net/ChangeLog-4.php Patch; Vendor Advisory External Source CONFIRM http://www.php.net/ChangeLog-4.php
http://www.php.net/ChangeLog-5.php#5.2.4 Patch; Vendor Advisory External Source CONFIRM http://www.php.net/ChangeLog-5.php#5.2.4
http://www.php.net/ChangeLog-5.php#5.2.5 Patch; Vendor Advisory External Source CONFIRM http://www.php.net/ChangeLog-5.php#5.2.5
http://www.php.net/releases/4_4_8.php Patch; Vendor Advisory External Source CONFIRM http://www.php.net/releases/4_4_8.php
http://www.php.net/releases/5_2_4.php Patch; Vendor Advisory External Source CONFIRM http://www.php.net/releases/5_2_4.php
http://www.php.net/releases/5_2_5.php Patch; Vendor Advisory External Source CONFIRM http://www.php.net/releases/5_2_5.php
http://www.securityfocus.com/archive/1/archive/1/472343/100/0/threaded External Source BUGTRAQ 20070627 PHP 4/5 htaccess safemode and open_basedir Bypass
http://www.securityfocus.com/archive/1/archive/1/491693/100/0/threaded External Source HP SSRT080056
http://www.securityfocus.com/bid/24661 Patch External Source BID 24661
http://www.securityfocus.com/bid/25498 Patch External Source BID 25498
http://www.trustix.org/errata/2007/0026/ External Source TRUSTIX 2007-0026
http://www.vupen.com/english/advisories/2007/3023 Vendor Advisory External Source VUPEN ADV-2007-3023
http://www.vupen.com/english/advisories/2008/0059 Vendor Advisory External Source VUPEN ADV-2008-0059
http://www.vupen.com/english/advisories/2008/0398 Vendor Advisory External Source VUPEN ADV-2008-0398
http://www.vupen.com/english/advisories/2008/0924/references Vendor Advisory External Source VUPEN ADV-2008-0924
https://exchange.xforce.ibmcloud.com/vulnerabilities/35102 External Source XF php-htaccess-security-bypass(35102)
https://exchange.xforce.ibmcloud.com/vulnerabilities/39403 External Source XF php-sessionsavepath-errorlog-security-bypass(39403)
https://issues.rpath.com/browse/RPL-1693 External Source CONFIRM https://issues.rpath.com/browse/RPL-1693
https://issues.rpath.com/browse/RPL-1702 External Source CONFIRM https://issues.rpath.com/browse/RPL-1702
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056 External Source OVAL oval:org.mitre.oval:def:6056

References to Check Content

Identifier:
oval:org.mitre.oval:def:6056
Check System:
http://oval.mitre.org/XMLSchema/oval-definitions-5
Hyperlink:
http://oval.mitre.org/repository/data/DownloadDefinition?id=oval:org.mitre.oval:def:6056

Technical Details

Vulnerability Type (View All)

Change History 4 change records found - show changes