Community Forums
Connect with us on LinkedIn
Community Notice
Closed Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default Security Issue...

    Seems like ftp is being used to get into directories and upload DarkMailer. I can't find out how, but it only happens with one account each time on all my servers and then I find it and delete it.. Can anyone help me with some ideas?

    New bug or root exploit?

    Example:

    Wed Mar 21 13:33:36 2007 3 12.218.85.204 3680 /home/xxxxx/public_html/cgi-bin/news/upload/from.txt a _ i r xxxxx ftp 1 * c
    Wed Mar 21 13:33:40 2007 0 12.218.85.204 626 /home/xxxxx/public_html/cgi-bin/news/upload/letter.txt a _ i r xxxxx ftp 1 * c
    Wed Mar 21 13:33:42 2007 0 12.218.85.204 13 /home/xxxxx/public_html/cgi-bin/news/upload/replyto.txt a _ i r xxxxx ftp 1 * c
    Wed Mar 21 13:33:49 2007 1 12.218.85.204 29 /home/xxxxx/public_html/cgi-bin/news/upload/subject.txt a _ i r xxxxx ftp 1 * c
    Wed Mar 21 13:33:55 2007 1 12.218.85.204 1392 /home/xxxxx/public_html/cgi-bin/news/config.txt a _ i r xxxxx ftp 1 * c
    Wed Mar 21 13:34:28 2007 29 12.218.85.204 250036 /home/xxxxx/public_html/cgi-bin/news/dm.cgi a _ i r xxxxx ftp 1 * c

  2. #2
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    819
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Maybe they have the username and password? Sometimes the simple answer is the solution.
    Michael

  3. #3
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    Its common that FTP accounts get brute forced. users use simple passwords like their username and such. Change the password on the account.
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  4. #4
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default Hmm

    BUt there's no evidence of brute force... and they never come bac to the same account after i remove it.. \

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    11

    Default

    I have the same issues,

    they login directly into the ftp and uploaded some files, still looking around...

  6. #6
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,093
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Perhaps this isn't much help with the actual issue, but have you looked at blocking the execution of DarkMailer with mod_security?

    Interesting one this, as it sounds a bit like a cpanel exploit if the accounts are all different, although there's many other things they could have done to get in like this given enough time.

  7. #7
    Member
    Join Date
    Mar 2003
    Posts
    11

    Default

    yeah I have been putting keyword ban into mod_security , searching around for a solution though

    thanks!

  8. #8
    Member
    Join Date
    Sep 2003
    Location
    UK, Luton
    Posts
    197

    Default

    This whole FTP account entry thing is entirely unsolved in my opinion.

    The main thread regarding this is here: http://forums.cpanel.net/showthread.php?t=62821&page=4
    Regards,
    James Smith
    UH Hosting Ltd

  9. #9
    Member
    Join Date
    Apr 2007
    Posts
    9

    Default

    I am a custom of a web host that uses cPanel and have had this happen to me twice.

    I posted some info here:
    http://forums.cpanel.net/showthread.php?t=62821&page=6

    Basically:
    somebody/something uploaded a collection of phisihing sites to a directory on my vhost using FTP. There was no evidence of a brute force just logged straight in!
    I have never logged in using FTP at all and always use https / port 2083 to log into cPanel. and I upload files using SFTP.

    So on discovery of this the file where removed and I logged into cpanel using https/port 2083 and changed my password and logged out. I have never used the new password again and have never told anybody the password.
    But a few days later the same thing happened.

    I dont save passwords anywhere and I use linux so I feel comfortable that I dont have any malware installed.

    Also as this appears to be affecting a number of different web hosts I highly doubt my password was captured.

  10. #10
    Member
    Join Date
    Mar 2003
    Posts
    11

    Default

    this actually starts to happen on my server since last year, it looks like they are able to get the cpanel password, aka ftp password. After that they just login to cpanel and ftp without any brute force

  11. #11
    Member
    Join Date
    Apr 2007
    Posts
    9

    Default

    This is very strange, but something I did notice was that when I did login to cpanel and went to the FTP accounts section it has ftp links in the format of ftp://user : pass@ftp.demo.com/demo.com

    Which actually show your user password (when you hover over it).
    Now I know to see this you would have to have been logged in but this means that the password must be stored somewhere in either plain text or reversible encryption!

    Maybe this could this have anything to do with it?
    Maybe a local file include exploit could grab this file or something?

    Check yourself on the cpanel 10 demo at :
    http://www.cpanel.net/products/cPane...try_cp_whm.htm

    when logged in goto "FTP manager" then "FTP Accounts"

    Near the bottom are some links to the ftp server, hover over one and it show the password.
    Last edited by fich; 04-20-2007 at 05:37 AM.

  12. #12
    Member
    Join Date
    Apr 2007
    Posts
    9

    Default

    -- ignore this --
    Last edited by fich; 04-20-2007 at 05:36 AM. Reason: Accidentily posted same message twice!

  13. #13
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    Quote Originally Posted by fich View Post
    This is very strange, but something I did notice was that when I did login to cpanel and went to the FTP accounts section it has ftp links in the format of ftp://user : pass@ftp.demo.com/demo.com

    Which actually show your user password (when you hover over it).
    Now I know to see this you would have to have been logged in but this means that the password must be stored somewhere in either plain text or reversible encryption!

    Maybe this could this have anything to do with it?
    Maybe a local file include exploit could grab this file or something?

    Check yourself on the cpanel 10 demo at :
    http://www.cpanel.net/products/cPane...try_cp_whm.htm

    when logged in goto "FTP manager" then "FTP Accounts"

    Near the bottom are some links to the ftp server, hover over one and it show the password.
    This will be different in cPanel 11. Please note that servers not running cPanel have been affected by this exploit as well so this is doubtful as the cause. Please send any relevant info to security AT cPanel .net


    I'm going to lock this thread as there is already a discussion here: http://forums.cpanel.net/showthread.php?t=62821

  14. #14
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Quote Originally Posted by fich View Post
    This is very strange, but something I did notice was that when I did login to cpanel and went to the FTP accounts section it has ftp links in the format of ftp://user : pass@ftp.demo.com/demo.com

    Which actually show your user password (when you hover over it).
    Now I know to see this you would have to have been logged in but this means that the password must be stored somewhere in either plain text or reversible encryption!

    Maybe this could this have anything to do with it?
    Maybe a local file include exploit could grab this file or something?

    Check yourself on the cpanel 10 demo at :
    http://www.cpanel.net/products/cPane...try_cp_whm.htm

    when logged in goto "FTP manager" then "FTP Accounts"

    Near the bottom are some links to the ftp server, hover over one and it show the password.

    It pulls it out of the password your browser sent.

    You can disable this in tweak settings.

Similar Threads & Tags
Similar threads

  1. Security issue?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-21-2008, 08:12 AM
  2. Is this a security issue?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-18-2006, 04:04 PM
  3. Security issue
    By prof in forum Security
    Replies: 3
    Last Post: 02-21-2006, 12:31 PM
  4. Possible security issue
    By GordonH in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-27-2004, 05:38 AM
  5. security issue
    By NNNils in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 04-28-2003, 03:55 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube