I have a VM running about 100 websites, I run logwatch, blockhosts & mod_evasive, and between the three I have a pretty good idea what happens on a daily basis... though, I do get a lot of requests like:
/cgi-bin/commerce.cgi?search=/../../../../../../../../../../etc/passwd%00&category=A001 HTTP Response 302
/cgi-bin/commerce.cgi?register=../../../../../../../../../../proc/self/environ HTTP Response 302
/cgi-bin/commerce.cgi?display=/etc/passwd HTTP Response 302
/cgi-bin/commerce.cgi?display=../../../../../../../../../../proc/self/environ HTTP Response 302
/cgi-bin/commerce.cgi?search=/../../../../../../../../../../proc/self/environ%00&category=A001 HTTP Response 302
not a big deal - these never went anywhere, though, I would like a nice simple way to add the requesting IPs to the block list in hosts.allow ...
say any request that contains /etc/passwd or /proc/self/
any thoughts?