Hello,
Problem:
there are 2 customer accounts in a reseller account:
- the one (aaa.com) has no content except an empty index.htm, also, the account is suspended by exeed bw limit
- the other (bbb.com) has content, but is suspended, too, also because exeed bw limit
Both accounts get massive hits counting big BW, in "last visitor" it looks like this
--start copy---
Host: 41.207.18.182
/
Http Code: 500 Date: Feb 05 16:26:47 Http Version: HTTP/1.1 Size in Bytes: 7309
Referer: -
Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt; DTS Agent
--end copy--
For me this is
1) a vulnerability of cPanel, because a http 500 must not happen if the account (aaa.com) is empty or (both) is suspended.
If there happens a http 500, it is a server thing, caused by a bad script on server or whatever and need to get fixed from root. So, how to find what on server gives that http 500 (logs in customer account give no hint), or hot to protect the server before such, as the http 500 is always an answer to a hit from abroad, as shown in "last visitor" ? Block of IP is no result, as then the hits come from other IPs
2) a security issue, as so much hits (here more than 3,4000,000), all causing a http 500, must be able to block either by cPanel, server settings, or firewall. (I'm not so familar with these things to find an answer)
3) of general importance, as such may happen against any domainname at any time, and by this block the server in total, as it takes mass server load affecting all acocunts/domains on server.
4) it is a cPanel vulnerability thing also in so far, as this happens with accounts/domains being suspended, and suspended account never must cause any server load or use BW. What means, the "suspend" feature of cPanel does not work proper.
5) in additon: how to block in general hits to "/" and from user agent: "-" (empty). As the http 500 always is related to a hit to "/" for me this seems to be the weakness of the server.
6) does anyone know a way to block automatically an IP of that come hits causing errors? Maybe if from same IP come more than 100 hits within - maybe - 5 min, causing an error, get blocked automatically for a tiome of maybe 1 day.
This would not be a fix at the problem's source itself, but may be a workaround and helpful also in other cases)
Thanks in advance
Mark



LinkBack URL
About LinkBacks
Reply With Quote




