The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

One cpanel account hacked , hacker got access to all other accounts

Discussion in 'Security' started by umarmeo, Feb 24, 2014.

  1. umarmeo

    umarmeo Member

    Joined:
    Jan 24, 2014
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Last few days were full of headache for me. On one of my servers someone uploaded few files in 755 permissions directory on one client's account.
    He changed its .index file.

    But more problematic situation is that he got access of all other accounts on server and modified the databases all over the server.

    Specially, the user accounts of wordpress sites changed to admin all accounts under all databases on server.

    I want ask that how I can prevent this in future as if any account got hacked he should not access other accounts information or access to database and files.

    All accounts on my server using latest version of wordpress and plugin installed as we specially take care of it. All accounts using premium themes not any nulled or cracked theme or plugin.

    On the account where hacker got access was none wordpress site and he was not able to access that account's database.

    Now what I did is find all uploaded files, deleted them, changed cpanel passwords, change root password, permission on the folder from where hacker uploaded the files is secured.

    What more should I do. and what should I do to stop this in future.

    Thanks
     
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    940
    Likes Received:
    55
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Sounds 100% like a symlink hack. Default cPanel apache config lets you symlink to all the other users wp-config.php files and get the DB credentials to carry out this kind of hack.

    http://forums.cpanel.net/f185/solutions-handling-symlink-attacks-202242.html

    Protect yourself. I recommend cloudlinux with securelinks/cageFS, however, in most cases the rack911 or easyapache ("bluehost") patch will do. If you opt for the bluehost / EA patch be sure you're using SuPHP or you'll break a lot of stuff.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page