treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Security issues in a Wordpress Plugin

  • I am using Strx Magic Floating Sidebar Maker plugin on my blog www.designrapid.com , yesterday i opened by blog in college library, i was surprised to see my blog was showing unknown ad banner on sidebar to some Jewelery and fashion website. All this happened after i installed this plugin.

  • I tried to get this plugin to work, but I didn't have much luck. But, I think I found where the author put their own ads in the plugin.

    Go to your plugins->Strx Magic Floating Sidebar Maker, click "edit." Look in the source code for

    $rv.='<tr><td><div><script type="text/javascript"><!-- google_ad_client = "pub-8907793348376201"; /* 468x60, per plugin e widget wp */ google_ad_slot = "8331203622"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div></td></tr>';

    Deleting this should get rid of the ads. I don't know what the license is for this plugin though, the author may frown upon you.

  • gosh, how can they do this, i found a 300*250 ad banner on my blog

  • gosh now i found this function strx_floating_sidebar_affiliates(){ return array( //Elegant themes affiliate program http://www.elegantthemes.com/affiliates/ 'image', 'image', //Envato refer program http://themeforest.net/wiki/referral/basics-referral/referral-program/ //logos http://themeforest.net/wiki/referral/basics-referral/banners-and-logos/ //Themeforest 'image', 'image', //Videohive 'image', //Graphicriver 'image', //Activeden 'image', //Audiojungle 'image', //3docean 'image', //Codecanyon 'image', //Tutsplus //'image', //Woothemes 'WooThemes - Quality Themes, Great Support', 'WooThemes - WordPress themes for everyone', 'WooThemes - Quality Themes, Great Support', 'WooThemes - WordPress themes for everyone', //Mojothemes 'Mojo Themes', 'Mojo Themes' ); }

    There are too many unwanted ads

  • this plugin have, a twitter link, a feedburner link, donate us link, 8 affiliate links, an adsense ad banner and much more. How this can be available on wordpress plugin repository!!!! its not safe

  • it was too much, wrote a post on this issue check out here

  • I've never seen someone so heated about this. Hahaha. You seem very passionate about ethics of free software. I'm glad to see someone voicing their opinion about it though. I'm very surprised it got a 4.5/5 star rating. You would think some users would have noticed and gave it a bad review.

  • Every developer should describe on shelf about his intenstions