Web Application Security
Re: XSS - Double Quote break out and White Space filtered May 30 2009 05:17AM
arvind doraiswamy (arvind doraiswamy gmail com) (1 replies)
Re: XSS - Double Quote break out and White Space filtered May 31 2009 02:55PM
Florian Weimer (fw deneb enyo de) (1 replies)
* arvind doraiswamy:

> Here's a snapshot of the related code:
>
> <form action="blahblah.php" method="post">
> document.write: <input type="text" name="p1" size="60" value="ggggg">
> <input type="submit" value="reflect">
> <pre><script>document.write("gggggg");</script></pre>
> </form>

Is this some sort of homework?

> So as you see all reflection points are in double quotes and all key
> characters are blocked off as mentioned earlier.
>
> An input in the text box of: < > : ; " ' ` = ( ) / \ * is reflected back as:
> < > : ; " ' ` = ( ) / \ *

You need to target the document.write() call.

[ reply ]
Re: XSS - Double Quote break out and White Space filtered Jun 01 2009 03:18AM
arvind doraiswamy (arvind doraiswamy gmail com)


 

Privacy Statement
Copyright 2010, SecurityFocus