CVE-2007-3378
PHP < 4.4.7 - Safe Mode and Open Basedir Bypass via .htaccess Directives
Title source: llmDescription
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.
References (43)
Core 43
Core References
Patch, Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php#5.2.5
Permissions Required, Third Party Advisory vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0059
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/39403
Permissions Required, Third Party Advisory vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0924/references
Exploit, Third Party Advisory third-party-advisory
x_refsource_sreason
http://securityreason.com/securityalert/2831
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26822
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/28750
Third Party Advisory vendor-advisory
x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Third Party Advisory x_refsource_misc
http://securityreason.com/achievement_exploitalert/9
Patch, Vendor Advisory x_refsource_confirm
http://www.php.net/releases/4_4_8.php
Mailing List, Third Party Advisory vendor-advisory
x_refsource_slackware
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30040
Permissions Required, Third Party Advisory vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0398
Patch, Vendor Advisory x_refsource_confirm
http://www.php.net/releases/5_2_5.php
Patch, Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php#5.2.4
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/28936
Broken Link vendor-advisory
x_refsource_trustix
http://www.trustix.org/errata/2007/0026/
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/29420
Mailing List, Third Party Advisory vendor-advisory
x_refsource_apple
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
Broken Link x_refsource_confirm
https://issues.rpath.com/browse/RPL-1693
Third Party Advisory, VDB Entry vendor-advisory
x_refsource_hp
http://www.securityfocus.com/archive/1/491693/100/0/threaded
Exploit, Third Party Advisory third-party-advisory
x_refsource_sreason
http://securityreason.com/securityalert/3389
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/27648
Exploit, Third Party Advisory third-party-advisory
x_refsource_sreasonres
http://securityreason.com/achievement_securityalert/45
Broken Link x_refsource_confirm
https://issues.rpath.com/browse/RPL-1702
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26838
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/27377
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/472343/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/35102
Third Party Advisory x_refsource_confirm
http://docs.info.apple.com/article.html?artnum=307562
Patch, Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-4.php
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/27102
Permissions Required, Third Party Advisory vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3023
Patch, Vendor Advisory x_refsource_confirm
http://www.php.net/releases/5_2_4.php
Broken Link vendor-advisory
x_refsource_hp
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/28318
Patch, Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/25498
Third Party Advisory vdb-entry
signature
x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/26642
Patch, Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/24661
Broken Link vdb-entry
x_refsource_osvdb
http://www.osvdb.org/38682
Mailing List mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2020/09/17/3
Mailing List mailing-list
x_refsource_fulldisc
http://seclists.org/fulldisclosure/2020/Sep/34
Scores
EPSS
0.0364
EPSS Percentile
88.0%
Details
CWE
CWE-264
Status
published
Products (1)
php/php
4.0.0 - 4.4.7
Published
Jun 29, 2007
Tracked Since
Feb 18, 2026