发新话题
打印

[转载]Mozilla Firefox Window Spoofing (Firespoofing)

[转载]Mozilla Firefox Window Spoofing (Firespoofing)

信息来源:www.securiteam.com

Summary
Using JavaScript it is possible to spoof the content of security and download dialogs by partly covering them with a popup window. This can fool a user to download and automatically execute a file (if a file extension association exists) or to grant a script local data access (if codebase principals are enabled).

Credit:
The information has been provided by Michael Krax.
The original article can be found at: http://www.mikx.de/?p=7

Details
Affected Software:
* Mozilla Firefox version 1.0
* Mozilla version 1.7.5
* Netscape version 7.1

All under Windows XP SP2

Expected Behavior:
Modal dialogs should always be on top and it should not be possible to obfuscate their appearance.

Vendor Status:
The bug is confirmed but currently unfixed (open for more than 3 months). As a partial workaround set dom.disable_window_flip to true in about:config. The vendor failed to respond to multiple status requests which led to this public disclosure.

2004-09-20 Vendor informed (bugzilla.mozilla.org #260560)
2004-09-20 Vendor confirmed bug
2004-10-20 Status request (open for 1 month - no reply)
2005-01-03 Status request (open for 3 months - no reply)
2005-01-07 Status request (disclosure warning - no reply)
2005-01-11 Public disclosure

Exploit:
The PoC is designed for Firefox 1.0 running in a maximized window.

Part 1 - download dialog spoofing
Shows how to cover a download dialog and fool the user to execute a file with a standard windows file association (in this case a .ht file). BTW, remember the latest .ht buffer overflow...

Part 2 - security dialog spoofing
Shows how to cover a security dialog. Make sure codebase principals are enabled (not default but encouraged by many XUL sites). Creates the file c:\booom.txt to proof local system access.

The exploit is also available at: http://www.mikx.de/firespoofing/
http://www.eviloctal.com/forum/read.php?tid=6742
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

发新话题