Waraxe IT Security Portal
Login or Register
January 8, 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: 129
Members: 0
Total: 129
Full disclosure
Multiple Security Misconfigurations and Customer Enumeration Exposure in Convercent Whistleblowing Platform (EQS Group)
Panda3d v1.10.16 Uncontrolled Format String in Panda3D egg-mkfont Allows Stack Memory Disclosure
Panda3d v1.10.16 egg-mkfont Stack Buffer Overflow
Panda3d v1.10.16 deploy-stub Unbounded Stack Allocation Leading to Uninitialized Memory
MongoDB v8.3.0 Integer Underflow in LMDB mdb_load
Bioformats v8.3.0 Untrusted Deserialization of Bio-Formats Memoizer Cache Files
Bioformats v8.3.0 Improper Restriction of XML External Entity Reference in Bio-Formats Leica Microsystems XML Parser
MongoDB v8.3.0 Heap Buffer Underflow in OpenLDAP LMDB mdb_load
zlib v1.3.1.2 Global Buffer Overflow in TGZfname() of zlib untgz Utility via Unbounded strcpy() on User-Supplied Archive Name
SigInt-Hombre v1 / dynamic Suricata detection rules from real-time threat feeds
Security Vulnerability in Koller Secret: Real Hidden App(com.koller.secret.hid emyphoto)
Linux Kernel Block Subsystem Vulnerabilities
[KIS-2025-14] PKP-WAL <= 3.5.0-1 Login Cross-Site RequestForgery Vulnerability
[KIS-2025-13] PKP-WAL <= 3.5.0-3 (X-Forwarded-Host) LESS Code Injection Vulnerability
[KIS-2025-12] PKP-WAL <= 3.5.0-1 (baseColour) LESS CodeInjection Vulnerability
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> Help with XSS on phpBB
Post new topicReply to topic View previous topic :: View next topic
Help with XSS on phpBB
PostPosted: Thu Nov 06, 2008 1:33 pm Reply with quote
theanderson
Regular user
Regular user
Joined: Nov 03, 2008
Posts: 6




In the target forum I found a vulnerable php script which is prone to XSS.
I ve already coded what I need to get the administrator's cookies.

But before retrieving the admin's cookie, my question is: once I have got the cookie, how do I access the administration panel(*)? And from there what are the things I can do to install a web shell(**)? the forum should be phpBB 2.0.20 (according to /docs/CHANGELOG.html)

(*) I know I have to perform a session hijack, but since then, is the admin panel accessible or I have to input the password anyways?

(**) I ve already used a RCE script (by rgod) but idk if I was able to extract the admin session's id from the cookie (prolly not), where should I look to find the admin session id? does that session id grant me access to the admin panel?

Please I don't wanna beg anyone, but I m tired of searching google and finding nothing.
View user's profile Send private message
PostPosted: Thu Nov 06, 2008 1:52 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




As far as i know, phpbb is checking IP address/session ID match. So if you have stolen sessionID, then you can't use it in most cases.
Now, there is something else you can try. If you can trick admin to visit your website and in same time he's logged in as admin and if you can use XSS hole (classical reflected XSS scenario), then you can actually commit CSRF attack!! Phpbb uses cryptographic nonce as anti-XSRF measure, but XSS will make it useless!! So for example you can make victim's browser to submit new admin creation form - silently and with user data you can provide:)

http://en.wikipedia.org/wiki/XSRF
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Thu Nov 06, 2008 2:12 pm Reply with quote
theanderson
Regular user
Regular user
Joined: Nov 03, 2008
Posts: 6




waraxe wrote:
As far as i know, phpbb is checking IP address/session ID match. So if you have stolen sessionID, then you can't use it in most cases.
Now, there is something else you can try. If you can trick admin to visit your website and in same time he's logged in as admin and if you can use XSS hole (classical reflected XSS scenario), then you can actually commit CSRF attack!! Phpbb uses cryptographic nonce as anti-XSRF measure, but XSS will make it useless!! So for example you can make victim's browser to submit new admin creation form - silently and with user data you can provide:)

http://en.wikipedia.org/wiki/XSRF


Thanks waraxe,
could you help me building the form I need to create a new admin user on phpBB 2.0.20? (googling in the while...)

EDIT:

Found something at http://hackish.altervista.org/forum/viewtopic.php?t=405

Code:
<html>
<iframe name="hackinginside" frameborder="0" height="0" width="0"></iframe>
<form action="http://site.com/path/groupcp.php?g=[GROUP_ID]" method="post" name="vincy" target="hackinginside">
<input type="hidden" name="username" value="[YOUR_NAME]">
<input type="submit" name="add" value="Add Member"></form>
<script>document.vincy.submit()</script>
</html>


But I don't know how much could this help me, because the forum's admin doesn't seem to belong to any "group"...
View user's profile Send private message
PostPosted: Thu Nov 06, 2008 8:52 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Gimme some time, i will try to find best working XSRF solution for this and then post all info here Smile
View user's profile Send private message Send e-mail Visit poster's website
Help with XSS on phpBB
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.033 Seconds