Web Application Security
Re: XSS - Double Quote break out and White Space filtered Jun 06 2009 02:17PM
arvind doraiswamy (arvind doraiswamy gmail com) (1 replies)
@Portswigger: The <IMG SRC> did work..thnx.

@Mugdha: The < and > was blocked. We tried your suggestion, Unicode
and that worked too. I'd swear we'd tried that out though :rollseyes.
Thanks anyway.

@Walid: No I'm not designing the wargame though that may be a nice
idea going forward :D.

The final bypass hence turns out to be document.write("\u003cimg src=a
onerror=alert(1)\u003e")

A final question though. How does the browser interpret Unicode and
Hex and all that? As in yes..I understand there is intelligence built
in to it but how does it decide..Right...This is Unicode. This is URL
Encoded. This is Hex..This is normal text. Is it just by the \u \x %
...?? Or is it something deeper. Are there a few good reads?

Thanks
Arvind

[ reply ]
Re: XSS - Double Quote break out and White Space filtered Jun 09 2009 04:51AM
Marc-André Laverdière (marc-andre atc tcs com)


 

Privacy Statement
Copyright 2010, SecurityFocus