|
|||
|
Quote:
That is what cPanel "found" on the server, but it was completely irrelevant to what was happening. Out of 800 sites on one server 60 have had the "iframe" added to them and over half of these were simply .html single page sites, with no dodgy permissions and no PHP scripting at all. The index files were downloaded over FTP and then 5 secs later re-uploaded. There is no manipulation of PHP or insecure scripts that is allowing them to FTP to these user accounts and the usernames are not being brute forced because there are no failed authentication attempts from the IPs that upload the amended and infected index files. So the question is, how have the username + passwords been obtained in the first place. |
|
|||
|
Quote:
If I compromise a single PHP script on a server I can get all the user accounts and start digging in users directories as well. Users usually make their account login password the same as MySQL passwords, etc. As you can see, i'm just trying to offer suggestions and show you how easy getting into a system is.
__________________
Upload Guardian 2.0 - Sign up for our early beta ServerProgress - Server security, consulting and assistance Last edited by ramprage; 01-24-2007 at 10:45 AM. Reason: changes |
|
|||
|
Quote:
![]() As I said, some of the affected accounts are very basic one page html holding pages. No MySQL and no PHP. |
|
|||
|
Hi JamesSmith,
I think ramprage is saying that you CAN get the list of account user/pass via some script vulnerabilities, and hence go on to do any kind of mischief with these, such as the multiple FTP logins we have been discussing. |
|
|||
|
You certainly *shouldnt* be able to do anything with the passwd file.
|
|
|||
|
JamesSmith - update to this.
Were you using ProFTP when your servers were affected or Pure-FTP?
__________________
Upload Guardian 2.0 - Sign up for our early beta ServerProgress - Server security, consulting and assistance |
|
|||
|
Quote:
We're aware there was an unpatched hole in ProFTPd at the time but we have since switched every server to Pure-FTPd. But we're still seeing possible instances of exploits appearing on the boxes with Pure-FTPd. |
|
|||
|
Could this be anything to do with it? http://secunia.com/advisories/24097/
Could affected people check /var/cpanel/objcache? ![]() Doesn't seem like it's terribly useful, but it's all I can drag up to contribute
|
|
|||
|
Quote:
|
|
|||
|
I am no expert but maybe I found a potential problem.
The same happened with two different servers in different countries so I start digging and check any file that was modified on that particular date. Except for the hacked/changed files as well as system files such as logs, on both servers I got the following. ./usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI/PurePerl.pm ./usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI/Gofer/Response.pm ./usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI/Gofer/Transport/Base.pm ./usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/Gofer/Transport/pipeone.pm ./usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/Gofer/Transport/http.pm ./usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/Gofer/Transport/Base.pm ./usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/Gofer/Transport/stream.pm ./usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/Base.pm ./usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/classic.pm ./usr/lib64/perl5/site_perl/5.8.0/DBD/Gofer/Policy/pedantic.pm ./usr/lib64/perl5/site_perl/5.8.0/DBI/ProfileDumper.pm ./usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Request.pm ./usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Transport/stream.pm ./usr/lib64/perl5/site_perl/5.8.0/DBI/Gofer/Transport/pipeone.pm Anyone perhaps knows perhaps more about this please? |
|
|||
|
Ramprage --
Nice post, but that is not what is happening here.. We are having a cpanel root exploit no matter what. I have 3 servers experencing ALL the same thinga nd they are at C8800!!!!!!!!!!!!!!!!!!!!!!!! Not to mention ftp logins at will -- probably using a "master" password cpanel left in for pure-ftpd use.. You know, how we all can still login ftp using our root password on any account? SAME IDEA! Explaining it away as a list of excuses isnt gonna do any good. The issue is -- it is not from a hack, it is not from a brute force (I have brute force detection.. nothing).. etc.. it is from a simple ONE time login, upload, mess, thats it. Brenden |
![]() |
| Thread Tools | |
| Display Modes | |
|
|