hi,
i found weird log entries in /var/log/messages and after some research it come from a Drupal cms hosted in one of my server...
the problem is that the drupal seams to use syslog() method from php that output to the linux syslog deamon.
first... im not comfortable with the fact that somebody flood my /var/log/messages but where i get seriously nervous is the point that even with safe mode ON syslog() can still output to /var/log/messages witch is a 600 root root perm file
note also that the hosted script that run syslog() run as the user itself with perm 666
can someone explain me how syslog() and/or openlog() | can have write access to /var/log/messages with php safe mode on ?
thanks
i found weird log entries in /var/log/messages and after some research it come from a Drupal cms hosted in one of my server...
the problem is that the drupal seams to use syslog() method from php that output to the linux syslog deamon.
first... im not comfortable with the fact that somebody flood my /var/log/messages but where i get seriously nervous is the point that even with safe mode ON syslog() can still output to /var/log/messages witch is a 600 root root perm file
note also that the hosted script that run syslog() run as the user itself with perm 666
can someone explain me how syslog() and/or openlog() | can have write access to /var/log/messages with php safe mode on ?
thanks