QUOTE (Jutaky @ Mar 27 2008, 09:15 PM)

Servers gather huge amounts of log files and usually unauthorized accesses are visible in logs in some form or another.
And unfortunately on very busy servers, these logs are set to rotate out quite frequently, hence I have no idea how anyone injected the code, as it was over 12 hours before it was brought to my attention. Sure I could block it with mod_security rules, and block half the site members in the process from all the trash that is run as a normal course of business in GPTland.
QUOTE
PHP's mysql_query() does not support stacked queries, so in order for cracker to totally define own query it needs to be feeded to MySQL via different route than CashCrusader.
Obviously it is a simple 1 line injection "UPDATE `rotating_ads` SET `site_url` = 'http://sometrash.com';"
QUOTE
Another way to get access to server is uploading remote shell using faulty software on the server and cracker can get a control panel and depending on environment, can do quite many things there.
And I run a cron daily on all the shared servers
0 0 * * * /usr/bin/find /home/*/public_html -type d -perm 777 | xargs /bin/chmod 755
15 0 * * * /bin/chmod 777 /home/*/public_html/scripts/mysql_restore
15 0 * * * /bin/chmod 777 /home/*/public_html/scripts/plugins/geoip_plg
QUOTE
Extra pair of eyes is always welcome if someone thinks they can find a security flaw.
There is a flaw, but we will have to wait til this punk strikes again, it was wrong of you to accuse my hosting, but it was proper to collect the data, but what commonality did you find?
I've had root shell access on your servers, they are no different than mine for the most part, so if my hosting is to blame, yours would be just as susceptible. There are only minor cosmetic differences on how we compile apache and run mysql.