PDA

Bekijk Volledige Versie : Firescrolling 2 [Firefox 1.0.1]



mikx
24/03/05, 18:15
__Summary

Even though Firefox 1.0.1 patched one of the key bugs behind my
firescrolling exploit (the ability of plugins to load chrome files in a
hidden frame) the ability to hijack a drag and drop operation and open a
privileged xul file is still available.

The demo opens "chrome://global/content/alerts/alert.xul" when dragging the
scrollbar the first time. This XUL file automaticly runs an inline script to
turn the window into a tray notification alert. This demo is just an example
of an annoying usage, but if the browser or an extension contains an inline
script that uses an eval/setTimeout with a parameter an attacker can
influence it turns into an arbitrary code execution bug. Also update or
uninstall scripts could be a valuable target. I doubt most extension
developers think about problems that could occure if a XUL file in their
extensions is opened directly.

__Proof-of-Concept

http://www.mikx.de/firescrolling2/

__Status

The bug is fixed in Firefox 1.0.2.

2005-03-09 Vendor informed (bugzilla.mozilla.org #285438)
2005-03-11 Vendor confirmed bug
2005-03-23 Vendor published fixed version and advisory
2005-03-24 Public disclosure

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2005-0401 to this issue.

__Affected Software

Tested with Firefox 1.0.1

__Contact Informations

Michael Krax <mikx@mikx.de>
http://www.mikx.de/?p=12

mikx

John Madden
25/03/05, 01:25
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On (24/03/05 11:34), mikx didst pronounce:
>
> __Proof-of-Concept
>
> http://www.mikx.de/firescrolling2/
>
Does nothing here -- Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.7.6) Gecko/20050307 Firefox/1.0.1 (Debian package 1.0.1-2)

I immediately noticed that the pointer turned into the "link" pointer
when I moved the mouse over the scrollbar aswell.

I changed demo.php to use about:config instead of the chrome:// link,
and it did work.

- --
Chat ya later,

John.
- --
BOFH excuse #29: It works the way the Wang did, what's the problem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCQwCuQBw+ZtKOvTIRAnmYAKCDwnznG4av0jUWNLIWbH 7R4hCQIwCdGWuI
EMWYKrhQxqr1uoW6RbAoCko=
=Q2zi
-----END PGP SIGNATURE-----