CVE-2007-3378

Summary

CVECVE-2007-3378
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-06-29 18:30:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe (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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php All All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
www.osvdb.org/38682 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org Broken Link
www.trustix.org/errata/2007/0026 af854a3a-2127-422b-91ae-364da2661108 www.trustix.org Broken Link
The Slackware Linux Project: Slackware Security Advisories af854a3a-2127-422b-91ae-364da2661108 slackware.com Mailing List, Third Party Advisory
PHP 5.2.3 and Prior Versions Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Patch, Third Party Advisory, VDB Entry
Full Disclosure: Apache + PHP <= 7.4.10 open_basedir bypass af854a3a-2127-422b-91ae-364da2661108 seclists.org
SecurityReason - PHP 5.2.3, htaccess safemode and open_basedir Bypass af854a3a-2127-422b-91ae-364da2661108 securityreason.com Third Party Advisory
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required, Third Party Advisory
Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required, Third Party Advisory
About Security Update 2008-002 af854a3a-2127-422b-91ae-364da2661108 docs.info.apple.com Third Party Advisory
PHP Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
SecurityReason - PHP 5.2.4 mail.force_extra_parameters unsecure af854a3a-2127-422b-91ae-364da2661108 securityreason.com Exploit, Third Party Advisory
oss-security - Apache + PHP <= 7.4.10 open_basedir bypass af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
rPath update for php, php-mysql and php-pgsql - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Slackware update for php4 - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
PHP: PHP 4.4.8 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net Patch, Vendor Advisory
Gentoo Linux Documentation -- PHP: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org Third Party Advisory
SecurityReason - PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass af854a3a-2127-422b-91ae-364da2661108 securityreason.com Exploit, Third Party Advisory
PHP Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Trustix Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
PHP Multiple Vulnerabilities - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
PHP .Htaccess Safe_Mode and Open_Basedir Restriction-Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Patch, Third Party Advisory, VDB Entry
APPLE-SA-2008-03-18 Security Update 2008-002 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com Mailing List, Third Party Advisory
issues.rpath.com/browse/RPL-1693 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com Broken Link
HP-UX update for Apache - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
PHP: PHP 4 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net Patch, Vendor Advisory
HPSBUX02308 SSRT080010 rev.1 - HP-UX Running Apache, Remote Execution of Arbitrary Code - c01345501 - HP Business Support Center af854a3a-2127-422b-91ae-364da2661108 h20000.www2.hp.com Broken Link
rPath Update for Multiple php Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net Patch, Vendor Advisory
Gentoo update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
PHP: PHP 5.2.4 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net Patch, Vendor Advisory
issues.rpath.com/browse/RPL-1702 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com Broken Link
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
HP-UX update for Apache with PHP - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
SecurityReason - PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass af854a3a-2127-422b-91ae-364da2661108 securityreason.com Exploit, Third Party Advisory
PHP: PHP 5.2.5 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net Patch, Vendor Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Third Party Advisory
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required, Third Party Advisory
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required, Third Party Advisory
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net Patch, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-07-05Joshua BressersWe 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

© CVE.report 2026

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.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report