CVE-2007-3378
Summary
| CVE | CVE-2007-3378 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2007-06-29 18:30:00 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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
| Organization | Published | Contributor | Statement |
|---|---|---|---|
| Red Hat | 2007-07-05 | Joshua Bressers | 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 |
There are currently no legacy QID mappings associated with this CVE.