Hi Reagan Blundell, Andre Malo, Rafael D'Avila...
Thanks for your comment. But let's think a bit more carefully and reply to me your opnion.
Suppose that the root *user set* a directory to Deny From All, so in fact all web users should not be able to get its
content. But a *reseller user* who has the right to modify the .htaccess file (ErrorDocument), could let other *web
users* get its content via a 403 document, or at least get the 403 doc itself, which is placed in the same directory.
In this case, we do not need PHP.
Answer me, it's a Apache feature, or a mistake of Apache?
Best Regards,
Trung
Reagan Blundell <Reagan.Blundell () Centradia com> wrote:
I think it's a vuln, in fact I confirmed someones for that.
Then I post it into a bug-tracker list instead of in a user
support forum. Thanks for your comment.
The only reason it is a "vulnerability", is because PHP allows a user to
read files from the system. This is completely regardless of whatever
protections you have set up in Apache. If you don't trust your users, then
allowing them to run PHP scripts is just plain stupid. This is not a
security issue with apache. This is an administrator not knowing the
consequences of giving users access to PHP.
Rafael D'Avila <rooter () terra com br> wrote:
IMHO, there's no vulnerability here... if you trust your users, and let them
execute some codes from inside the server, you are only using a feature of
Apache, and have to be the responsibility if someone execute dangerous
codes....
Only my 0.2 cents
Rafael D'Ávila
(core_dumped () terra com br)
----- Original Message -----
From: "André Malo"
To: "langtuhaohoa caothuvolam"
Cc: ;
Sent: Wednesday, February 04, 2004 4:07 PM
Subject: Re: BUG IN APACHE HTTPD SERVER (current version 2.0.47)
* langtuhaohoa caothuvolam wrote:
Deny From All: In this way they can access from outside the server.
You mean: An attacker needs to place such a script on the server, which
includes the requested uri.
If he's able to do so, he can
(a) read the file anyway
(b) simply open it from inside the script using normal file operations.
I cannot see a vuln here. If he's able to take the actions described
above,
one has *real* trouble on the server.
This seems to me the same topic as the mod_perl hijacking. If you don't
trust
your users, don't let them execute code from inside the server.
nd
Do you Yahoo!?
Yahoo! Finance: <http://us.rd.yahoo.com/evt=22055/*http://taxes.yahoo.com/filing.html>Get your refund fast by filing
online