SSRT071423Vendor advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 CVE-2007-1835
PHP 5.2.1 - 'Session.Save_Path()' TMPDIR open_basedir Restriction Bypass
Record summary
CVE-2007-1835 has a selected CVSS score of 4.6; EIP currently links 1 catalogued exploit.
Description
PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.
Description source: CVE List
Exploitation context
Available material
- Catalogued exploits
- 1
Proofs of concept
1Catalogued exploits
ExploitDBPHP 5.2.1 - 'Session.Save_Path()' TMPDIR open_basedir Restriction BypassExploitDB exploitby Stefan EsserNot analyzed1 file
References
10HPSBTU02232Vendor advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 25423Third-party advisory
http://secunia.com/advisories/25423 25850Third-party advisory
http://secunia.com/advisories/25850 php-security.org
http://www.php-security.org/MOPB/MOPB-36-2007.html 23183vdb entry
http://www.securityfocus.com/bid/23183 ADV-2007-1991vdb entry
http://www.vupen.com/english/advisories/2007/1991 ADV-2007-2374vdb entry
http://www.vupen.com/english/advisories/2007/2374 php-sessionsavepath-restriction-bypass(33550)vdb entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/33550 nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2007-1835