<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XCSS</title>
	<atom:link href="http://www.thespanner.co.uk/2007/11/20/xcss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thespanner.co.uk/2007/11/20/xcss/</link>
	<description>Javascript blog with messed up syntax inside</description>
	<lastBuildDate>Thu, 26 Jan 2012 01:38:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: ascii</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-911</link>
		<dc:creator>ascii</dc:creator>
		<pubDate>Mon, 26 Nov 2007 00:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-911</guid>
		<description>no problem,  you do good research! :)</description>
		<content:encoded><![CDATA[<p>no problem,  you do good research! <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-902</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Fri, 23 Nov 2007 09:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-902</guid>
		<description>@ascii 

Yeah ok it&#039;s a mistake, I hadn&#039;t read it anywhere before but forgive me defending myself when I get a lot of negative comments for trying to do things different.</description>
		<content:encoded><![CDATA[<p>@ascii </p>
<p>Yeah ok it&#8217;s a mistake, I hadn&#8217;t read it anywhere before but forgive me defending myself when I get a lot of negative comments for trying to do things different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ascii</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-901</link>
		<dc:creator>ascii</dc:creator>
		<pubDate>Fri, 23 Nov 2007 03:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-901</guid>
		<description>@Gareth Heyes: sorry but not a new vector or something new, insertRule or appendChild or xxYY doesn&#039;t change this fact

http://archives.neohapsis.com/archives/fulldisclosure/2006-01/0933.html

mistake happens : ) why don&#039;t simply acknowledge? nobody is blaming you here

[fun]ouch, found BXSS! &quot;behavior: url(xss.htc);&quot;, it can be embedded in an external css! :D[/fun]</description>
		<content:encoded><![CDATA[<p>@Gareth Heyes: sorry but not a new vector or something new, insertRule or appendChild or xxYY doesn&#8217;t change this fact</p>
<p><a href="http://archives.neohapsis.com/archives/fulldisclosure/2006-01/0933.html" rel="nofollow">http://archives.neohapsis.com/archives/fulldisclosure/2006-01/0933.html</a></p>
<p>mistake happens : ) why don&#8217;t simply acknowledge? nobody is blaming you here</p>
<p>[fun]ouch, found BXSS! &#8220;behavior: url(xss.htc);&#8221;, it can be embedded in an external css! <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> [/fun]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-882</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Wed, 21 Nov 2007 11:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-882</guid>
		<description>@Mario

Excellent stuff! I&#039;m sure there&#039;s loads more to explore in this area.

@digi7al64

Yeah the acronym might not work but I don&#039;t really care, I just wanted to call my blog post something interesting. Yes you&#039;re right that the delivery of insertRule may be obscure and rare but I liked it and found it interesting and I&#039;m sure not many people are aware of it.

@kuza55

The way I conduct my research is always in a manual manner and rarely do I use cheatsheets or xss proxies etc because of this I sometimes publish things that are already mentioned elsewhere, this is purely an accident and I&#039;m not trying to steal anyone&#039;s work, in future however I&#039;ll check the cheatsheet more throughly.

I feel that this post provides information that is very useful than just using the method listed in the cheatsheet because:-
1. InsertRule method is mentioned and changing the stylesheet dynamically.
2. Assigned MozBinding via a stylesheet has never been explained or mentioned anywhere as far as I know.
3. A live example of the method which demonstrates that allowing external stylesheets are a bad idea.

Why should I have to justify all this though? The cheatsheet doesn&#039;t make every blog post on XSS obsolete.</description>
		<content:encoded><![CDATA[<p>@Mario</p>
<p>Excellent stuff! I&#8217;m sure there&#8217;s loads more to explore in this area.</p>
<p>@digi7al64</p>
<p>Yeah the acronym might not work but I don&#8217;t really care, I just wanted to call my blog post something interesting. Yes you&#8217;re right that the delivery of insertRule may be obscure and rare but I liked it and found it interesting and I&#8217;m sure not many people are aware of it.</p>
<p>@kuza55</p>
<p>The way I conduct my research is always in a manual manner and rarely do I use cheatsheets or xss proxies etc because of this I sometimes publish things that are already mentioned elsewhere, this is purely an accident and I&#8217;m not trying to steal anyone&#8217;s work, in future however I&#8217;ll check the cheatsheet more throughly.</p>
<p>I feel that this post provides information that is very useful than just using the method listed in the cheatsheet because:-<br />
1. InsertRule method is mentioned and changing the stylesheet dynamically.<br />
2. Assigned MozBinding via a stylesheet has never been explained or mentioned anywhere as far as I know.<br />
3. A live example of the method which demonstrates that allowing external stylesheets are a bad idea.</p>
<p>Why should I have to justify all this though? The cheatsheet doesn&#8217;t make every blog post on XSS obsolete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kuza55</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-881</link>
		<dc:creator>kuza55</dc:creator>
		<pubDate>Wed, 21 Nov 2007 10:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-881</guid>
		<description>I may have been a bit abrupt when I posted that comment, but I still stand by it.

The Cheat Sheet isn&#039;t exactly some obscure text file which has never been indexed by google. And googling for &quot;-moz-binding&quot; XSS would have gotten you results, hell I linked the the part of the Cheat Sheet which mentioned the issue in a slackers thread which you later replied to.

Anyway, I know that the insertRule thing is obscure, but it really doesn&#039;t help us anywhere, since our main interest in -moz-binding is its uses for XSS, which is pretty useless if we can execute js already. And anyway, is it any better than simply editing the style attribute directly via javascript as most developers do?

But having said that, I don&#039;t want to stop you exploring and innovating, I just thought I ought to mention its not new. So if you have something new, please go ahead, I&#039;m very eager to see people do new things, and as frustrating as it is when someone points out to you that its already been published, you should just take it on board, and publish something new on the same issue to spite me :p</description>
		<content:encoded><![CDATA[<p>I may have been a bit abrupt when I posted that comment, but I still stand by it.</p>
<p>The Cheat Sheet isn&#8217;t exactly some obscure text file which has never been indexed by google. And googling for &#8220;-moz-binding&#8221; XSS would have gotten you results, hell I linked the the part of the Cheat Sheet which mentioned the issue in a slackers thread which you later replied to.</p>
<p>Anyway, I know that the insertRule thing is obscure, but it really doesn&#8217;t help us anywhere, since our main interest in -moz-binding is its uses for XSS, which is pretty useless if we can execute js already. And anyway, is it any better than simply editing the style attribute directly via javascript as most developers do?</p>
<p>But having said that, I don&#8217;t want to stop you exploring and innovating, I just thought I ought to mention its not new. So if you have something new, please go ahead, I&#8217;m very eager to see people do new things, and as frustrating as it is when someone points out to you that its already been published, you should just take it on board, and publish something new on the same issue to spite me :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: .mario</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-880</link>
		<dc:creator>.mario</dc:creator>
		<pubDate>Wed, 21 Nov 2007 09:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-880</guid>
		<description>Ah - and there&#039;s one more thing to add - check out the double eval :)

&lt;style&gt;
body:after{
    content: &quot;\61\6c\65\72\74\28\31\29&quot;
}
&lt;/style&gt;
&lt;script&gt;
eval(eval(document.styleSheets[0].cssRules[0].style.content))
&lt;/script&gt;</description>
		<content:encoded><![CDATA[<p>Ah &#8211; and there&#8217;s one more thing to add &#8211; check out the double eval <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&lt;style&gt;<br />
body:after{<br />
    content: &#8220;\61\6c\65\72\74\28\31\29&#8243;<br />
}<br />
&lt;/style&gt;<br />
&lt;script&gt;<br />
eval(eval(document.styleSheets[0].cssRules[0].style.content))<br />
&lt;/script&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: .mario</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-879</link>
		<dc:creator>.mario</dc:creator>
		<pubDate>Wed, 21 Nov 2007 09:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-879</guid>
		<description>I think it&#039;s not important if something has already been written somewhere. Especially WebAppSec is an extremely large field and thus it&#039;s important to persist facts vie repetition and extension. In fact I haven&#039;t looked inside the document.styleSheets property that deep yet - this article made me and that&#039;s good because i found a nice way to use thigs inside this property for my work. 

And while playing I found out that including an URL like www.google.com is tolerated by the browser and nodes in the including document even apply the styles coming from www.google.com.

&lt;html&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;http://www.google.de/&quot; type=&quot;text/css&quot; /&gt;
&lt;script&gt;
window.onload = function() {
    console.dir(document.styleSheets)
}
&lt;/script&gt;
&lt;body class=&quot;h&quot;&gt;
TEST
&lt;/body&gt;
&lt;/html&gt;

Maybe this has been written about somewhere else but at least it was new to me :)</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s not important if something has already been written somewhere. Especially WebAppSec is an extremely large field and thus it&#8217;s important to persist facts vie repetition and extension. In fact I haven&#8217;t looked inside the document.styleSheets property that deep yet &#8211; this article made me and that&#8217;s good because i found a nice way to use thigs inside this property for my work. </p>
<p>And while playing I found out that including an URL like <a href="http://www.google.com" rel="nofollow">http://www.google.com</a> is tolerated by the browser and nodes in the including document even apply the styles coming from <a href="http://www.google.com" rel="nofollow">http://www.google.com</a>.</p>
<p>&lt;html&gt;<br />
&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;http://www.google.de/&#8221; type=&#8221;text/css&#8221; /&gt;<br />
&lt;script&gt;<br />
window.onload = function() {<br />
    console.dir(document.styleSheets)<br />
}<br />
&lt;/script&gt;<br />
&lt;body class=&#8221;h&#8221;&gt;<br />
TEST<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Maybe this has been written about somewhere else but at least it was new to me <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: digi7al64</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-878</link>
		<dc:creator>digi7al64</dc:creator>
		<pubDate>Wed, 21 Nov 2007 04:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-878</guid>
		<description>The technique &quot;-moz-binding&quot; is old but the delivery method is &quot;new&quot; for lack of a better word (using insertrule). 

Eitherway though (1 &amp; 2) means i have free range with the css and I would probably target  something more generic that would affect more browsers other then just firefox.

And with 3 why would I bother using that technique. no offence, but you would be hard pressed to find a site that allows script tags and functions but filters out src etc.

Finally, XCSS is wrong, is it cross site scripting only. if we go down the path of giving every single attack method an acronym then I want to claim IXSS (which is image cross site scripting [think IE]). Also what about RXSS (Redirect cross site scripting) or FXSS (Flash cross site scripting) etc... but you get my idea.

Still, i look forward to your work on persistant xss via css (if possible).</description>
		<content:encoded><![CDATA[<p>The technique &#8220;-moz-binding&#8221; is old but the delivery method is &#8220;new&#8221; for lack of a better word (using insertrule). </p>
<p>Eitherway though (1 &amp; 2) means i have free range with the css and I would probably target  something more generic that would affect more browsers other then just firefox.</p>
<p>And with 3 why would I bother using that technique. no offence, but you would be hard pressed to find a site that allows script tags and functions but filters out src etc.</p>
<p>Finally, XCSS is wrong, is it cross site scripting only. if we go down the path of giving every single attack method an acronym then I want to claim IXSS (which is image cross site scripting [think IE]). Also what about RXSS (Redirect cross site scripting) or FXSS (Flash cross site scripting) etc&#8230; but you get my idea.</p>
<p>Still, i look forward to your work on persistant xss via css (if possible).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-877</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Wed, 21 Nov 2007 03:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-877</guid>
		<description>Yeah ok I missed it on rsnake&#039;s cheatsheet but so what? 

Just because someone creates a list of vectors doesn&#039;t mean that someone can&#039;t post new ideas of exploiting it. 

I was going to continue this post with information about exploiting different browsers at once and rewriting urls and changing content in Opera. But hey the cheatsheet apparently tells all.

Please direct me to the place in the cheatsheet where it mentions insertRule? I&#039;ve checked but I couldn&#039;t find it.</description>
		<content:encoded><![CDATA[<p>Yeah ok I missed it on rsnake&#8217;s cheatsheet but so what? </p>
<p>Just because someone creates a list of vectors doesn&#8217;t mean that someone can&#8217;t post new ideas of exploiting it. </p>
<p>I was going to continue this post with information about exploiting different browsers at once and rewriting urls and changing content in Opera. But hey the cheatsheet apparently tells all.</p>
<p>Please direct me to the place in the cheatsheet where it mentions insertRule? I&#8217;ve checked but I couldn&#8217;t find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kuza55</title>
		<link>http://www.thespanner.co.uk/2007/11/20/xcss/#comment-875</link>
		<dc:creator>kuza55</dc:creator>
		<pubDate>Wed, 21 Nov 2007 02:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/11/20/xcss/#comment-875</guid>
		<description>You haven&#039;t seen it written about anywhere because its been on Rsnake&#039;s Cheat Sheet for as long as I can remember, and so no-one has felt the need to write a post about it, since it was assumed we all knew it existed.</description>
		<content:encoded><![CDATA[<p>You haven&#8217;t seen it written about anywhere because its been on Rsnake&#8217;s Cheat Sheet for as long as I can remember, and so no-one has felt the need to write a post about it, since it was assumed we all knew it existed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

