exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | 5e51030080b79bda096e36790d2fe149b10c8cb5d18d41d97ce3cef339e313d5

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:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close