XSS (in 20 chars) in Microsoft IIS 7.5 error message

Posted by A Z on Nov 29

Hello everyone,

I found some weird HTML code injection in an IIS error message. IIS spits
out some part of the user input that generated the error message, but will
only display 20 characters at most.
My question is: is it possible to actually exploit an XSS with this ?

Here is an example:

HTTP Request: mypage?search=%3cb%20onclick%3dalert(1)>%3e
HTTP Response (real):

<p>An error has occured.</p>
<p>Exception…

Leave a Reply