Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Member
    Join Date
    Feb 2006
    Posts
    5

    Default cPanel exploited!



    Hello,

    I run cPanel on multiple servers, something has been happening and I am not sure what the cause can be.

    I believe I am being exploited, but i cannot trace the source of what is happening.
    What happens is the /home folder will get wiped clean all the data gets deleted, this has been happening to all servers, seems like it does its rounds month after month.

    I am looking for a good way to be able to trace and essentially prevent this from happening.

    Any insight would be greatly appreciated.

    Sl1k

  2. #2
    Member
    Join Date
    Jan 2003
    Posts
    24

    Default

    We had the same thing happen on one of our boxes about same time you posted this today.

    There's nothing in the logs......



    If it was a cpanel exploit I'd think more of our boxes would be affected. What other details can you provide on this? You said it happens every month? Is this happening to all your boxes? A single box? It's happening every month?

  3. #3
    Member
    Join Date
    Jan 2003
    Posts
    24

    Default

    What version of cpanel were you running? We believe 10.8.0 stable has holes.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If you do not know what you are doing you need to either read up on server security (there's plenty of threads on this forum that talk about tracking down exploits) or hire a security specialist to investigate for you.

    If you're aware of any unpatched security vulnerabilities in cPanel (and I cannot remember seeing a genuine one since the password reset via email one which was a very long time ago now) then you should inform cPanel immediately and directly.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jan 2003
    Posts
    24

    Default

    We very much know what we are doing. We manage over 1,000 servers. The affected box had grsecurity, latest kernal, phpsuex, latest apache, frontpage, all of it.... The box was not rooted since only cpanel users folders were affected and we see no signs to point otherwise. Not all accounts were affected only around 500 out of 700 accounts.


    The same time it happened there was a jump with inbound traffic.

    Everything were finding is pointing to a cpanel hole in 10.8.0 stable since this is the only box we had running this older version.


    I highly doubt cpanel releases all of the exploits they find to the public.

    We have contacted cpanel, and are hoping to get more information from other users in this forum with the same problem. If it's not a cpanel exploit it's something else, but either way there's a problem for us.
    Last edited by abused1; 05-28-2006 at 10:30 AM.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Then you're better off working directly with cPanel, as, without posting more information about exactly what evidence you've found in the logs, no-one is going to have anything to compare to.

    It also doesn't matter at all how secure you think your server is, if there's one vulnerable PHP or perl script on a client site then the whole server can be compromised with relative ease. If there was no root exploit, then that's probably the most likely access point.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    Jan 2003
    Posts
    24

    Default

    I think were all better off working togeather and determining what the victims have in common. So far we have two servers.


    Cpanel isn't sure, and if it was in the logs I wouldn't be here.

  8. #8
    Member
    Join Date
    May 2006
    Posts
    11

    Default

    Quote Originally Posted by Sl1k

    Hello,

    I run cPanel on multiple servers, something has been happening and I am not sure what the cause can be.

    I believe I am being exploited, but i cannot trace the source of what is happening.
    What happens is the /home folder will get wiped clean all the data gets deleted, this has been happening to all servers, seems like it does its rounds month after month.

    I am looking for a good way to be able to trace and essentially prevent this from happening.

    Any insight would be greatly appreciated.

    Sl1k
    The only way I can conceive that anyone could delete the 'home' directory which is the root in front of the actual 'public_html' directory is NOT in cpanel. The way this is done is through FTP access or if file mananger of somekind is done through actual server cp 'root_access'.

    What I think is actually happening is NOT Cpanel. But, someone is hacking through annoymous FTP access.

    Here are the steps to disable 'Annoymous FTP' for (ALL ACCOUNTS):

    If you are using someting like Virutuisol cp for server acess, click on FTP SETUP and check the box that says disable "FTP Annoymous Login Server"

    If you are using WHM (Webhost Manager) which is made by Cpanel, then you can look in the FTP setup in there and check the box that disables Annoymous FTP.


    You see what happens with allowing Annoymous login ftp is that anyone can with an ftp client of somekind enter your domains, and click the "Annoymous" button and it bypasses even passwords. This is especially true with Endora FTP or even Smart FTP. You NEVER allow annoymous even for your host customers or any accounts you setup on your servers. Disable this promptly as it is a very dangerous security risks.

    Please let me know in the near future if this helps your current problem.

    Cheers!
    Get your domain name today! .COMs from just $7.95/yr! Sign up today!-- http://www.widenationhost.com/

    Sales Dept: sales@widenationhost.com
    Support Forum: http://widenationhost.com/forums/index.php

    All domain transfers and renews are just $6.95 for a limited time. Regular price domains for $3.99 with purchase of non-domain product such as our hosting plans which start at $4.95/mo.

  9. #9
    Member
    Join Date
    Jan 2003
    Posts
    24

    Default

    We can eliminate this since user databases also are deleted which can't be done from ftp.

  10. #10
    Member
    Join Date
    Feb 2006
    Posts
    5

    Default

    Quote Originally Posted by pilot51198
    The only way I can conceive that anyone could delete the 'home' directory which is the root in front of the actual 'public_html' directory is NOT in cpanel. The way this is done is through FTP access or if file mananger of somekind is done through actual server cp 'root_access'.

    What I think is actually happening is NOT Cpanel. But, someone is hacking through annoymous FTP access.

    Here are the steps to disable 'Annoymous FTP' for (ALL ACCOUNTS):

    If you are using someting like Virutuisol cp for server acess, click on FTP SETUP and check the box that says disable "FTP Annoymous Login Server"

    If you are using WHM (Webhost Manager) which is made by Cpanel, then you can look in the FTP setup in there and check the box that disables Annoymous FTP.


    You see what happens with allowing Annoymous login ftp is that anyone can with an ftp client of somekind enter your domains, and click the "Annoymous" button and it bypasses even passwords. This is especially true with Endora FTP or even Smart FTP. You NEVER allow annoymous even for your host customers or any accounts you setup on your servers. Disable this promptly as it is a very dangerous security risks.

    Please let me know in the near future if this helps your current problem.

    Cheers!

    Thanks, I am going to try this out. Hopefully it will stop this.
    I will update this thread once I have additional information or *hopefully* success.

    Sl1k

  11. #11
    Member
    Join Date
    May 2006
    Posts
    11

    Question

    Quote Originally Posted by abused1
    We can eliminate this since user databases also are deleted which can't be done from ftp.
    Then someon hacked the server then. Because, I don't see how they can with cpanel delete the root directory!
    Get your domain name today! .COMs from just $7.95/yr! Sign up today!-- http://www.widenationhost.com/

    Sales Dept: sales@widenationhost.com
    Support Forum: http://widenationhost.com/forums/index.php

    All domain transfers and renews are just $6.95 for a limited time. Regular price domains for $3.99 with purchase of non-domain product such as our hosting plans which start at $4.95/mo.

  12. #12
    Member
    Join Date
    Feb 2006
    Posts
    5

    Default

    I check it out and found that Anonymous FTP is disabled on every server as part of the standard build. So I am not sure what else could cause this.

    Sl1k

  13. #13
    Member
    Join Date
    Jan 2003
    Posts
    24

    Default

    Sl1k what version of cpanel it this happening to you on? Also please read everything I wrote and answer. thanks!

  14. #14
    Member
    Join Date
    Feb 2006
    Posts
    5

    Default

    the version im using is WHM 10.8.0 cPanel 10.8.2-R83


    Sl1k

  15. #15
    Member
    Join Date
    Jan 2004
    Posts
    252

    Default

    Quote Originally Posted by pilot51198
    Then someon hacked the server then. Because, I don't see how they can with cpanel delete the root directory!

    Cpanel runs as the user root DUH


    root 14471 0.0 2.2 11604 10096 ? S 22:59 0:00 cpsrvd - waiting for connections
    Rack911.com - Competent Server Administration
    Server Security - Administration - Managed Servers - Optimization - High Traffic Clusters

Similar Threads & Tags
Similar threads

  1. Cpanel Server being exploited
    By bradyb in forum Security
    Replies: 5
    Last Post: 06-22-2010, 08:44 AM
  2. cpanel formmail being exploited
    By forlinuxsupport in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-14-2008, 05:47 AM
  3. Server exploited
    By SuperBaby in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-16-2006, 01:53 AM
  4. Exploited Servers
    By nxds in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 03-18-2006, 05:08 PM
  5. Possibly Exploited
    By AlexKitch in forum cPanel and WHM Discussions
    Replies: 43
    Last Post: 03-15-2006, 09:55 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube