<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>data: URL madness</title>
        <description>Hi!

Maybe it's not really new but you guys might wanna check that out - I played a little bit with the data:-URL feature supported by FFox, Opera and IE7 (dunno if Safari does too). Does anyone else think that this is weird?

http://h4k.in/dataurl

Please tell me what you think!

Greetings,
.mario</description>
        <link>http://sla.ckers.org/forum/read.php?12,11441,11441#msg-11441</link>
        <lastBuildDate>Tue, 18 Jun 2013 17:03:46 -0500</lastBuildDate>
        <generator>Phorum 5.2.15a</generator>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11493#msg-11493</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11493#msg-11493</link>
            <description><![CDATA[well that obfuscation doesn't matter I guess, if you detect vectors like 'javascript:' &amp; '&lt;script&gt;' in the first place.]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Projects</category>
            <pubDate>Sat, 12 May 2007 15:44:17 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11469#msg-11469</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11469#msg-11469</link>
            <description><![CDATA[@trev: I agree :)]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Projects</category>
            <pubDate>Fri, 11 May 2007 09:56:21 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11468#msg-11468</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11468#msg-11468</link>
            <description><![CDATA[Yes, atob/btoa seems to be Gecko-only. Which doesn't change the fact that you can have just about any sort of obfuscation with JavaScript.]]></description>
            <dc:creator>trev</dc:creator>
            <category>Projects</category>
            <pubDate>Fri, 11 May 2007 09:49:27 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11460#msg-11460</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11460#msg-11460</link>
            <description><![CDATA[I just reported the whitespace obfuscation - couldn't find it in the current bug list and seeing Opera 9+ strip out the whitespaces after ten of them made me think that this would be quite useful.<br />
<br />
@trev: Didn't know the atob / btob issue. It's Gecko-only, right?<br />
<br />
@CrYpTiC_MauleR: Yes - I guess so.]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Projects</category>
            <pubDate>Fri, 11 May 2007 03:09:39 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11451#msg-11451</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11451#msg-11451</link>
            <description><![CDATA[IDS can detect data: only way. Technically if someone is trying to use a data url they most likely will be up to no good. That assumption may change down the road as it starts to get used more.]]></description>
            <dc:creator>CrYpTiC_MauleR</dc:creator>
            <category>Projects</category>
            <pubDate>Thu, 10 May 2007 18:12:16 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11450#msg-11450</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11450#msg-11450</link>
            <description><![CDATA[data: URLs obey the same rules as javascript: URLs - you can obfuscate just about anything, so that any sane sanitization policy will disallow this URL type altogether. I mean, look at these URLs:<br />
<br />
<pre class="bbcode">javascript:'%3cscript%3ealert(1);%3c/script%3e'
javascript:'\x3cscript\x3ealert(1);\x3c/script\x3e'
javascript:atob('PHNjcmlwdD5hbGVydCgxKTs8L3NjcmlwdD4=')
javascript:atob('\120HNjcmlwdD5hbGVydCgxKTs8L3NjcmlwdD4=')</pre>]]></description>
            <dc:creator>trev</dc:creator>
            <category>Projects</category>
            <pubDate>Thu, 10 May 2007 17:14:14 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11446#msg-11446</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11446#msg-11446</link>
            <description><![CDATA[I don't know - but when the link...<br />
<br />
<i>data:text/html;charset=utf-7,+ADwAcwBjAHIAaQBwAHQAPg+-alert(1);history.back()+ADs-&lt;/script&gt;</i><br />
<br />
...is called, UTF7 is given but UTF16/BASE64, UTF8 and UTF7 in combination are executed. <br />
<br />
It doesn't really create new security holes but coming to filtering it really makes life harder. Any charset normalization (I know) and therefore intrusion detection would fail.<br />
<br />
Greetings,<br />
.mario]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Projects</category>
            <pubDate>Thu, 10 May 2007 16:34:53 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11445#msg-11445</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11445#msg-11445</link>
            <description><![CDATA[My apologies didn't catch that at first glance.<br />
<br />
Do you think maybe it just not obeying the charset specified.]]></description>
            <dc:creator>CrYpTiC_MauleR</dc:creator>
            <category>Projects</category>
            <pubDate>Thu, 10 May 2007 16:27:31 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11444#msg-11444</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11444#msg-11444</link>
            <description><![CDATA[CrYpTiC_MauleR - the thing is not that data: URLs just work but that you are able to mix together almost arbitrary charsets - look at testcase 04. There you have UTF7, UTF8 and BASE64 together in one data: URL]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Projects</category>
            <pubDate>Thu, 10 May 2007 16:08:15 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11442#msg-11442</guid>
            <title>Re: data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11442#msg-11442</link>
            <description><![CDATA[http://www.gnucitizen.org/blog/self-contained-xss-attacks/]]></description>
            <dc:creator>CrYpTiC_MauleR</dc:creator>
            <category>Projects</category>
            <pubDate>Thu, 10 May 2007 16:01:09 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?12,11441,11441#msg-11441</guid>
            <title>data: URL madness</title>
            <link>http://sla.ckers.org/forum/read.php?12,11441,11441#msg-11441</link>
            <description><![CDATA[Hi!<br />
<br />
Maybe it's not really new but you guys might wanna check that out - I played a little bit with the data:-URL feature supported by FFox, Opera and IE7 (dunno if Safari does too). Does anyone else think that this is weird?<br />
<br />
http://h4k.in/dataurl<br />
<br />
Please tell me what you think!<br />
<br />
Greetings,<br />
.mario]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Projects</category>
            <pubDate>Thu, 10 May 2007 15:54:17 -0500</pubDate>
        </item>
    </channel>
</rss>
