Forum Moderators: martinibuster

Message Too Old, No Replies

Most Urgent Response Needed-adsense Injected

         

nandla

8:01 am on Apr 30, 2011 (gmt 0)

10+ Year Member



Hi All.
I'm having very strange problem.
my site having 2 adsense codes on very top of the page and very bottom of the page, and i'm unable to find who have inserted these ads. my site has not been hacked, no any password change.
I've looked into header.php and footer.php of my theme but i did not find any adsense code there.
I disabled all the plugins but the ads are still there.
can any one suggest a quick solution for this.

[edited by: engine at 8:48 am (utc) on Apr 30, 2011]

johnmoose

8:30 am on Apr 30, 2011 (gmt 0)

10+ Year Member



www.example.com gives: Warning: Cannot modify header information - headers already sent with an ad on top

and:

example.com gives your site with an ad the top and bottom with pub id ending 5578 (the inserted ads)

and 2 more ads with pub id ending 3065, I assume that these are yours.

I would change the password and upload an updated page without the these extra ads and check the all other pages.

Good luck!

nandla

8:38 am on Apr 30, 2011 (gmt 0)

10+ Year Member



I've checked each template page of my wordpress theme but no luck. now realized the same ads on all other sites hosted on this server. like 1crick.com :(

viggen

8:40 am on Apr 30, 2011 (gmt 0)

10+ Year Member



...your host maybe playing games with you`?

nandla

8:53 am on Apr 30, 2011 (gmt 0)

10+ Year Member



The site is hosted on hostgator and thats i dont think is the company which do such stupid things, what do u guess?

johnmoose

11:43 am on Apr 30, 2011 (gmt 0)

10+ Year Member



Have you tried contacting them and see what they have to say about this?

nandla

3:03 pm on Apr 30, 2011 (gmt 0)

10+ Year Member



Problem resolved:
Problem resolved by upgrading wordpress to latest version.
But still the cause is unknown :(

londrum

3:18 pm on Apr 30, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



maybe it was part of your old wordpress theme? sometimes theme authors include backlinks and ads to pay for "development".

DaStarBuG

3:39 pm on Apr 30, 2011 (gmt 0)

10+ Year Member



search for base64 in your database.
Sounds like an sql injection to me.

jk3210

4:08 pm on Apr 30, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you use a WP plugin to insert your ads, some of those plugins will divert up to 12% of your ads to THEIR Adsense account.

nandla

11:17 am on May 1, 2011 (gmt 0)

10+ Year Member



search for base64 in your database.
Sounds like an sql injection to me.

That could be the main reason I think.

Im using such themes for last 3 years and never had the issues like this. and i;m not using any plugin to insert google ads, they are manually placed in theme files.

londrum

12:52 pm on May 1, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



change the theme back to the default, and see if the ads disappear. if they do, then it must be the 3rd-party theme.

indyank

10:38 am on May 2, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



if it is an sql injection, how did upgrading wordpress to the latest version helped? As far as i know, the latest release did not have any security fix.

DaStarBuG

11:56 am on May 2, 2011 (gmt 0)

10+ Year Member



but maybe the datastore or the cache which was injected got flushed during the update!?