Vulnerability in Referencing Current URL using %s

This topic has 2 replies, 2 voices, and was last updated 7 years, 10 months ago ago by Stan Russell

  • Avatar: jchrislemmer
    jchrislemmer
    Participant
    May 27, 2016 at 14:04

    Hi there,

    I received a mail from Google, saying one of my sites were hacked. They detected hacked content on my website. I spent about 4 hours figuring out how this was possible. Searched the whole database, scanned all folders and also ran an Antivirus and malicious code scanner. None of the scans found any hacked content.

    Then I started looking at the php code of my WordPres theme. The code was referencing the most sold woocommerce product and was displaying it in the footer of the website. Please see in attached screenshot “WahooFitness_Image1″. In the screenshot you can see that the ‘Add to Cart” button links to a spam link. When looking at the code, there is no spam. Please see a screenshot of the code as attached in WahooFitness-Image2.

    The problem here was with the theme as you can see. It sets the value of the “Add to Cart” button to %s. So the source of the link that you’re on. So if you did a simple WordPress search, you would change the link of the button to a spam link and Google’s bot would think it was spam. Please see WahooFitness_Image3 for the source view on the page. By going to “www.wahoofitness.co.za/?search=YES-XXX&id=?c=803” which simply does a WordPress search, the link of the button gets set to “www.wahoofitness.co.za/?search=YES-XXX&id=?c=803” making Google’s bot think your site has spam on it.

    The way they manage to get Google’s bot to crawl your site is to post this link on other websites. Please see a screen shot of my WebMaster Tools “Links to your site”. So Google’s bot just had to crawl 1 link from those SPAM sites, and whale, my site gets marked as SPAM because there is a legit SPAM link on it.

    All this came from a vulnerability in the “WooPress – Responsive Ecommerce WordPress Theme” where they did bad coding and caused me site to be marked as SPAM. Would love to hear what the community has to say about this and I really do hope Google.

    Please find the above attached images at this link: https://drive.google.com/folderview?id=0By9nps1mp7AIa2swX3owUHBwd00&usp=sharing

    Regards
    Chris

    1 Answer
    Avatar: stan
    Stan Russell
    Participant
    May 28, 2016 at 09:01

    Hello jchrislemmer,

    please provide us with link to your Dashboard and admin credentials in Private content.

    Regards,
    Stan Russell.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.