3 Apr 2006 05:31
Re: Towards arbitrary client-side JavaScript execution
> > * Why does MediaWiki ever allow unescaped ">" characters? This > > behaviour seem to increase the chances of a JavaScript security > > problem. > > It doesn't, modulo uncaught bugs. Well, all I can tell you is that this is the behaviour that I observe. But you don't have to take my word for it; see for yourself here: * Unescaped ">" characters in the HTML output: http://nickj.org/MediaWiki/Parser11 * Wiki Source: http://nickj.org/Special:Export/MediaWiki/Parser11 * Site is running MediaWiki 1.5.6: http://nickj.org/Special:Version Note that I'm looking at the Parser purely from a black-box-testing perspective: I give it certain input, and observe what it does. I'm not looking at it from a source-code or design-level perspective (i.e. what it should do). Then as a human, I automatically try to spot the patterns in the behaviour that I observe, and from that construct a mental model that explains what the Parser is doing. And currently that says: the ">" character does not appear to be escaped until after the "<" character is used. Disclaimer: I have modified the MediaWiki source of this installation a little, but only to add limited ACLs, and change 2 or 3 minor things in the default page layout that I disliked. As far as I am aware, nothing that I have changed will modify the behaviour of the Parser (but of course, I could be wrong). > This is thanks to the wacky multi-pass parser. As a quick hack-around:(Continue reading)
I'm currently holding out for Ubuntu 6.06 to be released (5 years of
support on the server - very nice)
> We're junking CVS
Cool, and I see that
RSS Feed