Back to list
W-Agora 4.20 XSS
Apr 29 2006 07:27PM
r0xes ratm gmail com
PLEASE NOTE: I am not sure if HTML is an option. I looked through the Administration panel and did not see an option for it, and the fact that there is no BBcode leads me to believe that this is the method of BBCode/etc.
W-Agora is a fairly 'nice' bulletin board written in PHP. It allows multiple 'boards' (i.e. one with my forums and then one with yours) and has a nice administration panel.
Also, W-Agora allows users to post HTML - not everything you'd think, as things like script, frame, body, html, etc are stripped. It also strips out 'on' anything, so you'd think that you cannot execute code -- right?
No. The regex to clean out 'on'anything is like this:
If you don't see the problem, let me explain:
The filter expects that the = will come RIGHT after the On*! Therefore, if we put a space between it and the =, we do not match up against it and it will let it pass!
[code]<b onMouseOver =eval('alert(/xss/)')>hi</b>[/code]
This renders both in IE & Firefox. =D
Shouts: digi7al64 - PrOtOn - Lockdown - WhiteAcid
Video @ http://dynxss.whiteacid.org/videos/w-agora420xss.rar :: 899kb
[ reply ]
Copyright 2010, SecurityFocus