Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
43- http://docs.info.apple.com/article.html?artnum=307562
- SSRT080010 http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501
- APPLE-SA-2008-03-18 http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- 20200918 Apache + PHP <= 7.4.10 open_basedir bypass http://seclists.org/fulldisclosure/2020/Sep/34
- 26642 http://secunia.com/advisories/26642
- 26822 http://secunia.com/advisories/26822
- 26838 http://secunia.com/advisories/26838
- 27102 http://secunia.com/advisories/27102
- 27377 http://secunia.com/advisories/27377
- 27648 http://secunia.com/advisories/27648
- 28318 http://secunia.com/advisories/28318
- 28750 http://secunia.com/advisories/28750
- 28936 http://secunia.com/advisories/28936
- 29420 http://secunia.com/advisories/29420
- 30040 http://secunia.com/advisories/30040
- http://securityreason.com/achievement_exploitalert/9
- 20070627 PHP 5.2.3 PHP 4.4.7, htaccess safemode and open_basedir Bypass http://securityreason.com/achievement_securityalert/45
- 2831 http://securityreason.com/securityalert/2831
- 3389 http://securityreason.com/securityalert/3389
- SSA:2008-045-03 http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
- GLSA-200710-02 http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- [oss-security] 20200917 Apache + PHP <= 7.4.10 open_basedir bypass http://www.openwall.com/lists/oss-security/2020/09/17/3
- 38682 http://www.osvdb.org/38682
- http://www.php.net/ChangeLog-4.php
- http://www.php.net/ChangeLog-5.php#5.2.4
- http://www.php.net/ChangeLog-5.php#5.2.5
- http://www.php.net/releases/4_4_8.php
- http://www.php.net/releases/5_2_4.php
- http://www.php.net/releases/5_2_5.php
- 20070627 PHP 4/5 htaccess safemode and open_basedir Bypass http://www.securityfocus.com/archive/1/472343/100/0/threaded
- SSRT080056 http://www.securityfocus.com/archive/1/491693/100/0/threaded
- 24661 http://www.securityfocus.com/bid/24661
- 25498 http://www.securityfocus.com/bid/25498
- 2007-0026 http://www.trustix.org/errata/2007/0026/
- ADV-2007-3023 http://www.vupen.com/english/advisories/2007/3023
- ADV-2008-0059 http://www.vupen.com/english/advisories/2008/0059
- ADV-2008-0398 http://www.vupen.com/english/advisories/2008/0398
- ADV-2008-0924 http://www.vupen.com/english/advisories/2008/0924/references
- php-htaccess-security-bypass(35102) https://exchange.xforce.ibmcloud.com/vulnerabilities/35102
- php-sessionsavepath-errorlog-security-bypass(39403) https://exchange.xforce.ibmcloud.com/vulnerabilities/39403
- https://issues.rpath.com/browse/RPL-1693
- https://issues.rpath.com/browse/RPL-1702
- oval:org.mitre.oval:def:6056 https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6bf73e6d08f271074c02d998df2731b6752bcc885fc97b002593d80edaf4b768
- Ingested
- 23 Sep 2026, 07:38:14 UTC
- Source record
- Official CVE record