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?
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
...is called, UTF7 is given but UTF16/BASE64, UTF8 and UTF7 in combination are executed.
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.
Greetings,
.mario
Edited 1 time(s). Last edit at 05/10/2007 04:36PM by .mario.
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:
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.
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.