exploit the possibilities

Mozilla Firefox Denial Of Service

Mozilla Firefox Denial Of Service
Posted Jan 2, 2020
Authored by Social Engineering Neo

Mozilla Firefox versions prior to 72 suffer from a denial of service vulnerability.

tags | exploit, denial of service
MD5 | 6fe29193b99032dd245ea340b003f7e0

Mozilla Firefox Denial Of Service

Change Mirror Download
# Exploit Title: Mozilla Firefox <72 Denial of Service
# Date: 2/1/20
# Exploit Author: Social Engineering Neo - @EngineeringNeo
# Vendor Homepage: https://mozilla.org
# Software Link: https://firefox.com
# Version: 71.0 and below
# Tested on: Firefox 68.0, 69.0, 70.0, 71.0


Mozilla Firefox <72 Denial of Service by Social Engineering Neo.


Affected Platforms: -
Windows
Linux
MacOS


Tested On: -
Firefox 68.0, 69.0, 70.0, 71.0, Multiple ESR versions.
TOR browser


Summary: -
The regexp 'looksLikeURL' Suffers from a Denial of Service Issue Due to Improperly Handling Specific Characters, Allowing Attackers to Send a Specially Crafted URLs to Crash/Hang a Remote Users Browser.


Short Description: -
All versions of Firefox except ESR & Mobile platforms are affected by a specially crafted URL causing the browser to crash/hang on all desktop platforms.


Long Description: -
The function 'looksLikeURL' in 'toolkit/components/places/UnifiedComplete.jsm' does not properly handle characters ('_' & '?') when these characters are appended onto a URL containing ~26 '.' symbols this can cause the browser to crash, resulting in complete loss of information (unrecoverable) on all other tabs.
This patch replaces the regexp with splitting the string on "." and then checking a smaller regexp against each of the parts.

Snippet of modified code from 'toolkit/components/places/UnifiedComplete.jsm' (lines 526-535)

function looksLikeUrl(str, ignoreAlphanumericHosts = false) {
// Single word including special chars.
return (
!REGEXP_SPACES.test(str) &&
(["/", "@", ":", "["].some(c => str.includes(c)) ||
(ignoreAlphanumericHosts
- ? /^([\[\]A-Z0-9.:-]+[\.:]){3,}[\[\]A-Z0-9.:-]+$/i.test(str) #OLD
+ ? /^([\[\]A-Z0-9.-]+\.){3,}[^.]+$/i.test(str) #NEW
: str.includes(".")))
);
}

More info @ https://bugzilla.mozilla.org/show_bug.cgi?id=1587867

Proof of Concept: -
=====
Remove 'https:// & .com/' from the following URL 'https://firefoxcrash.000webhostapp.com/.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a_'
Make sure to include the underscore '_' at the end of the URL string.

VIDEO: - https://youtu.be/KJkCVUIaUEI
=====


Expected Result: -
It shouldn't be possible to crash/hang remote browser upon inserting URL into address bar.


Observed Result: -
Remote browser crashes upon loading character '_' or '?' appended to end of URL.



Special Thanks to Drew Willcoxon (adw) and Marco Bonardo (mak) for the quick response & patch.
Login or Register to add favorites

File Archive:

November 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    2 Files
  • 2
    Nov 2nd
    9 Files
  • 3
    Nov 3rd
    15 Files
  • 4
    Nov 4th
    90 Files
  • 5
    Nov 5th
    22 Files
  • 6
    Nov 6th
    16 Files
  • 7
    Nov 7th
    1 Files
  • 8
    Nov 8th
    1 Files
  • 9
    Nov 9th
    40 Files
  • 10
    Nov 10th
    27 Files
  • 11
    Nov 11th
    28 Files
  • 12
    Nov 12th
    13 Files
  • 13
    Nov 13th
    18 Files
  • 14
    Nov 14th
    2 Files
  • 15
    Nov 15th
    2 Files
  • 16
    Nov 16th
    29 Files
  • 17
    Nov 17th
    15 Files
  • 18
    Nov 18th
    15 Files
  • 19
    Nov 19th
    21 Files
  • 20
    Nov 20th
    16 Files
  • 21
    Nov 21st
    1 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    19 Files
  • 24
    Nov 24th
    32 Files
  • 25
    Nov 25th
    7 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close