what you don't know can hurt you
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:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 Files
  • 26
    Sep 26th
    26 Files
  • 27
    Sep 27th
    39 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close