Waraxe IT Security Portal
Login or Register
October 9, 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: 4056
Members: 0
Total: 4056
Full disclosure
[0day-rubbish] StreamSets Transformer 3.17.0 auth-mode none fallback and un-sandboxed ScalaDTransform execution to container root (8.1 primary)
[0day-rubbish] RCDevs WebADM 2.4.14 authenticated log viewer sid command injection to webadm uid 999 code execution (7.2)
[0day-rubbish] Maian Cart 3.8 addBanners unrestricted banner upload to PHP webshell and administrator command execution (7.2 primary, PR:H)
[0day-rubbish] IPConfigure Orchid VMS 26.3.0 authenticated DNF repository GPG-key property command injection to root (7.2)
[0day-rubbish] Circutor LineEds 24.11.14-r0 unauthenticated pwrstudio events.xml shellExecute command injection (9.8)
[0day-rubbish] Asustor ADM 3.5.9.RWM1 (AS602T) music.cgi act=live stored-filename command injection reaching system() (8.8 primary, PR:L)
[0day-rubbish] Advantech WebAccess Node 9.2.3 unauthenticated CrystalRpt.aspx file upload and path traversal to code execution in w3wp.exe (9.8)
SEC Consult Research 20261001 :: Arbitrary Email sender spoofing in Apple iCloud mail
SEC Consult SA-20260924-0 :: Multiple Vulnerabilities in Paessler PRTG Network Monitor #CVE-2026-4637 #CVE-2026-4638
[NotCVE-2026-0019] game-music-emu through 0.6.5 VGM Command Interpreter Missing Operand Length Check Allows Heap Out-of-Bounds Read
[NotCVE-2026-0018] game-music-emu (libgme) through 0.6.5 Unbounded GYM Command Loop Allows Heap Out-of-Bounds Read
[NotCVE-2026-0017] game-music-emu (libgme) 0.6.5 and Earlier AY Loader NULL Pointer Dereference Allows Denial of Service
[NotCVE-2026-0016] game-music-emu VGM Command Interpreter Unvalidated 0xE0 PCM Seek Offset Allows Out-of-Bounds Read and Denial of Service
APPLE-SA-09-28-2026-3 macOS Sequoia 15.8.1
APPLE-SA-09-28-2026-2 macOS Tahoe 26.7.1
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.040 Seconds