OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Mozilla Firefox 1.0.1 Javascript Images are Draggable

From: Paul (paulgreyhats.cjb.net)
Date: Fri Feb 25 2005 - 23:12:47 CST


Author: Paul
Affected Software: Mozilla Firefox 1.0.0, 1.0.1 (tested only on these versions)
Risk: Low/Medium

A minor security vulnerability exists in the way that Firefox handles cross-domain image dragging. Dragging an image into the address bar will cause Firefox to navigate to the image url even if it is a javascript url and the page to be navigated from is in a different domain than the page on which the image is shown. This may potentially allow attackers to steal cookies, etc.

A proof of concept is available at
http://greyhatsecurity.org/vulntests/firefox.htm

Vendor Reccomendations:
Disable dragging images with javascript urls.

User Reccomendations:
Do not drag images into the address bar.

Paul
http://greyhatsecurity.org