FireSt0rm
07/03/05, 21:55
I found an exploit in the current version of php-fusion which allows you to input XSS in the tag. I reported it already to php-fusion and they created a fix for this. Here it goes:
By converting the text (ie. javascript:alert('test')) to their ascii values, the strings between the [img] tags aren't checked by the filter. And this way, you can send it and it will be executed.
You can do other things like display cookies, steal cookies, redirections etc.
EXAMPLE:
javascript:document.location='http://www.albinoblacksheep.com/flash/you.html'
would be replaced by
javascript:document.location='http://www.albinoblacks

4eep.com/flash/you.html'
FIX:
Filter out characters like '&' and '#'.
By converting the text (ie. javascript:alert('test')) to their ascii values, the strings between the [img] tags aren't checked by the filter. And this way, you can send it and it will be executed.
You can do other things like display cookies, steal cookies, redirections etc.
EXAMPLE:
javascript:document.location='http://www.albinoblacksheep.com/flash/you.html'
would be replaced by
javascript:document.location='http://www.albinoblacks

4eep.com/flash/you.html'
FIX:
Filter out characters like '&' and '#'.