full path disclosure on autoindex

felosi

Well-Known Member
#1
For example if you chmod a directory 000 in order to disable it
Like this http://protectedhost.com/test/
http://sph1.net/test

Instead of giving a php error displaying full path it should simply give a forbidden error. It does the same any time it cannot read any folder, despite the contents

Is there any quick fix for this? Its somewhat of a security risk because it displays full path giving the sites username on the server.
Seems like it should invoke an error page instead of trying to open autoindex
Despite error reporting off will still show this
 
Last edited:

brrr

Well-Known Member
#2
Some suggestions...

Disable auto-index for that server. And your PHP error reporting settings in php.ini may also be a factor too - eg ensure display_errors = Off.

But yeah, when LSWS encounters a file-system resource that it has no permissions to access, I would have thought a 403 error would have come up despite every other setting on the server.
 

felosi

Well-Known Member
#3
does the same despite display errors, the links I posted display errors is on. Which I really have to leave that on so people can see problems with their apps, sites, etc
bottom one is with error reporting off
 

felosi

Well-Known Member
#7
Will give it a try tonight, been taking the weekend off. A much needed break, been working 7 days a week like 2 years now

Thanks guys
 

mistwang

LiteSpeed Staff
#11
If you downloaded the 3.3 release package earlier than yesterday, you should download again, it has been actively updated.
If you downloaded it yesterday, I may have to take another look on the 503 issue
 

felosi

Well-Known Member
#16
Thanks a lot George!

I would have to say LiteSpeed is the best people Ive dealt with concerning bug reports. They take them seriously and fix them asap. I have never been brushed off or had problems filing a report or simply asking a question. Thats just awesome in software because back in my hacking/security days we used to notify vendors about exploits and such. 90% of the time they would either deny it, ignore it, or take months fixing and almost all of them never treated anything like an emergency.

Everytime anyone reports problems to litespeed they are taken care of fast and everything is treated like a serious issue. Cant ask for no more.

Thanks again!
 
Top