PHP 4.x/5 - cURL 'open_basedir' Restriction Bypass
| Reporter | Title | Published | Views | Family All 18 |
|---|---|---|---|---|
| CentOS 3 : PHP (CESA-2005:405) | 3 Jul 200600:00 | – | nessus | |
| CentOS 4 : PHP (CESA-2005:406) | 8 Jan 200700:00 | – | nessus | |
| RHEL 3 : PHP (RHSA-2005:405) | 29 Apr 200500:00 | – | nessus | |
| RHEL 4 : PHP (RHSA-2005:406) | 4 May 200500:00 | – | nessus | |
| php security update | 28 Apr 200522:58 | – | centos | |
| php security update | 4 May 200517:39 | – | centos | |
| CVE-2004-1392 | 6 Feb 200505:00 | – | cve | |
| CVE-2004-1392 | 6 Feb 200505:00 | – | cvelist | |
| EUVD-2004-1389 | 7 Oct 202500:30 | – | euvd | |
| CVE-2004-1392 | 31 Dec 200405:00 | – | nvd |
10
source: https://www.securityfocus.com/bid/11557/info
It is reported that cURL allows malicious users to bypass 'open_basedir' restrictions in PHP scripts. This issue is due to a failure of the cURL module to properly enforce PHPs 'open_basedir' restriction.
Users with the ability to create or modify PHP scripts on a server computer hosting the vulnerable software can reportedly exploit this vulnerability to bypass the 'open_basedir' restriction, and access arbitrary files with the privileges of the web server. This may aid them in further attacks.
This vulnerability possibly results in a false sense of security, as administrators expect that the restrictions in place prevent malicious users from gaining access to sensitive information.
<?php
$ch = curl_init("file:///etc/parla");
$file=curl_exec($ch);
echo $file
?>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
28 Oct 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.10394