seamless bait-and-switch

From: Michal Zalewski <lcamtuf@coredump.cx>
To: bugtraq <bugtraq@securityfocus.com>
Cc:
Subject: seamless bait-and-switch
Date:


Hello world,

Another whimsical browser proof-of-concept:

http://lcamtuf.coredump.cx/switch/

It seems that relatively few people realize that holding a JavaScript
handle to another window (either because we opened it, or because the
window was at some point displaying our content) allows the attacker
to tamper with the location and history objects at will, largely
bypassing the usual SOP controls. With some minimal effort and the
help of data: / javascript: URLs or precached pages, this can be
leveraged to replace content in a manner that will likely escape even
fairly attentive users.

/mz

PS. Obligatory plug: http://lcamtuf.coredump.cx/tangled/





Copyright © 1995-2021 LinuxRocket.net. All rights reserved.