|
|||||||||||
|
Opera/Konqueror: data: URL scheme address bar spoofing
From: Robert Swiecki <jagger(at)swiecki.net>
Date: Fri Jul 13 2007 - 19:50:49 EDT
It's possible due to the fact, that some web browsers incorrectly display contents of the url bar while rendering pages based on the 'data:' URL scheme (RFC 2397). Only the ending of the URL is displayed. Padding the URL with whitespaces allows an attacker to insert an arbitrary content into the browser url bar. http://alt.swiecki.net/oper1.html Tested with:
Pictures taken on my systems (using 1024x768 dekstop resolution) http://alt.swiecki.net/operalin.pnghttp://alt.swiecki.net/operawin.pnghttp://alt.swiecki.net/konq.png Successfull attack depends on the proper construction of the 'data:' URL. An algorithm could utilize JS document.body.clientWidth/Height properties to calculate the best url padding for the given browser. PS. Sometimes Opera web browser displays the beggining of the 'data:' URL (correct behaviour), e.g. during browser startup with immediate redirect to the last visited page. -- Robert SwieckiReceived on Sat Jul 14 12:59:27 2007 This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 17:55:53 EDT |
||||||||||
|
|||||||||||