The error_log files that are created (I believe that's only with phpsuexec enabled) in each directory are accessable by apache (http://domain.com/error_log)
Although this problem is not urgent, it can create a security issue by possibly exposing inner workings of php scripts and exposing names of scripts that are being developed in that directory.
Recommendation to cpanel/phpsuexec/apache (I'm not sure who would be relavent here): chmod 600 these error_logs so they cannot be retreived by apache
Recommendation to users:
In httpd.conf (usually /usr/local/apache/conf/httpd.conf), find this section:
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
under it, ADD (DO NOT CHANGE):
<Files ~ "^error_log$">
Order allow,deny
Deny from all
Satisfy All
</Files>
This will create a 403 error on any file named error_log for any site



LinkBack URL
About LinkBacks
Reply With Quote




