6.8med

CVE-2007-3378

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 fro…

Published 19 y ago · modified 4 mo ago · JSON

CVSS
6.8
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
5.3%
percentile 93%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

5.33% probability of exploitation in the next 30 days, higher than 93% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls
Technology feeds
PHP (RSS, critical only)

References

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

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.