Bug 147811 - CAN-2004-1392 php curl open_basedir bypass
CAN-2004-1392 php curl open_basedir bypass
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Joe Orton
David Lawrence
: Security
Depends On:
  Show dependency treegraph
Reported: 2005-02-11 11:12 EST by Josh Bressers
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 4.3.11-2.4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-19 03:54:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Josh Bressers 2005-02-11 11:12:14 EST
*** 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.

$ch = curl_init("file:///etc/parla");
echo $file

The fix for this issue is attachment 110975 [details]
Comment 1 Josh Bressers 2005-02-11 11:12:53 EST
This issue should also effect FC2
Comment 2 Leonard den Ottolander 2005-03-10 09:47:27 EST
Should also affect RHEL 2.1 and 3.
Comment 3 Joe Orton 2005-04-19 03:54:36 EDT
Fixed in 4.3.11 update, thanks for the report:


Note You need to log in before you can comment on or make changes to this bug.