CVE-2007-3378

Public Exploit

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.

Category

6.8
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 1.68% Top 20%
Vendor Advisory gentoo.org Vendor Advisory slackware.com Vendor Advisory trustix.org Vendor Advisory apple.com Vendor Advisory securityfocus.com Vendor Advisory hp.com Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://securityreason.com/securityalert/2831 third party advisory exploit
http://www.php.net/ChangeLog-5.php#5.2.5 patch vendor advisory
http://secunia.com/advisories/26822 third party advisory
http://secunia.com/advisories/28750 third party advisory
http://www.vupen.com/english/advisories/2008/0059 third party advisory vdb entry permissions required
https://exchange.xforce.ibmcloud.com/vulnerabilities/39403 third party advisory vdb entry
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml third party advisory vendor advisory
http://www.vupen.com/english/advisories/2008/0924/references third party advisory vdb entry permissions required
http://securityreason.com/achievement_exploitalert/9 third party advisory
http://www.php.net/releases/4_4_8.php patch vendor advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 vendor advisory mailing list third party advisory
http://secunia.com/advisories/30040 third party advisory
http://www.vupen.com/english/advisories/2008/0398 third party advisory vdb entry permissions required
http://www.php.net/releases/5_2_5.php patch vendor advisory
http://www.php.net/ChangeLog-5.php#5.2.4 patch vendor advisory
http://secunia.com/advisories/28936 third party advisory
http://www.trustix.org/errata/2007/0026/ vendor advisory broken link
http://secunia.com/advisories/29420 third party advisory
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html vendor advisory mailing list third party advisory
https://issues.rpath.com/browse/RPL-1693 broken link
http://www.securityfocus.com/archive/1/491693/100/0/threaded vendor advisory third party advisory vdb entry
http://securityreason.com/securityalert/3389 third party advisory exploit
http://secunia.com/advisories/27648 third party advisory
http://securityreason.com/achievement_securityalert/45 third party advisory exploit
https://issues.rpath.com/browse/RPL-1702 broken link
http://secunia.com/advisories/26838 third party advisory
http://secunia.com/advisories/27377 third party advisory
http://www.securityfocus.com/archive/1/472343/100/0/threaded mailing list third party advisory vdb entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/35102 third party advisory vdb entry
http://docs.info.apple.com/article.html?artnum=307562 third party advisory
http://www.php.net/ChangeLog-4.php patch vendor advisory
http://secunia.com/advisories/27102 third party advisory
http://www.vupen.com/english/advisories/2007/3023 third party advisory vdb entry permissions required
http://www.php.net/releases/5_2_4.php patch vendor advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501 vendor advisory broken link
http://secunia.com/advisories/28318 third party advisory
http://www.securityfocus.com/bid/25498 patch third party advisory vdb entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056 signature third party advisory vdb entry
http://secunia.com/advisories/26642 third party advisory
http://www.securityfocus.com/bid/24661 patch third party advisory vdb entry
http://www.osvdb.org/38682 vdb entry broken link
http://www.openwall.com/lists/oss-security/2020/09/17/3 mailing list
http://seclists.org/fulldisclosure/2020/Sep/34 mailing list

Frequently Asked Questions

What is the severity of CVE-2007-3378?
CVE-2007-3378 has been scored as a medium severity vulnerability.
How to fix CVE-2007-3378?
To fix CVE-2007-3378, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2007-3378 being actively exploited in the wild?
It is possible that CVE-2007-3378 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. 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.
© 2025 Under My Watch. All Rights Reserved.