php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2516 reproduce 1573 bug, open_base_dir problem in start/restart apache
Submitted: 1999-10-14 00:33 UTC Modified: 2002-06-16 14:15 UTC
From: marcio at microlink dot com dot br Assigned:
Status: Not a bug Package: Other
PHP Version: 3.0.12 OS: Linux and others
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marcio at microlink dot com dot br
New email:
PHP Version: OS:

 

 [1999-10-14 00:33 UTC] marcio at microlink dot com dot br
PHP can not read php3.ini because open_base_dir restrictions 
after restart. 

If I restrict open_base_dir=.;  (dot;) in php3.ini file, after restart, 
php logs this in log file.

It's security bug, after wrong restart, safemod go off. After that is possible
write a php3 page with this command:

<? copy("/etc/passwd","./mypersonalpasswdcopy") ?>

I reproduce the bug in 2 servers, php 3.0.6 until 3.0.12,
and bug 1573 say words like that.

Bug 1573 is "open" since  1999-06-20

thanks and good work 

Gomes, Marcio

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 14:15 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC