I am attempting to exploit URL with a reflected XSS as follows:
http://domain.com/vuln_parm=
The contents of vuln_parm
gets returned to the user as follows:
<div attrib1="" attrib2="" vulnattrib=""></div>
This works from within Burp:
http://domain.com/vuln_parm="style="background-image:url(someurl)"
as it gets sent back to the user as:
<div attrib1="" attrib2="" vulnattrib=""style="background-image:url(someurl)"></div>
The problem is the server doesn't decode the quotes. With Firefox if I send the string, Firefox automatically encodes the quotes as %22
. The server just reflects the %22
back. If I use IE (which doesn't encode quotes), the server reflects the quotes as "
. However, IE correctly detects this as XSS and displays the IE has modified this page to help prevent XSS.
Any ideas?