OpenSSL DTLS ChangeCipherSpec Remote DoS - Metasploit


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

Module Overview


Name: OpenSSL DTLS ChangeCipherSpec Remote DoS
Module: auxiliary/dos/ssl/dtls_changecipherspec
Source code: modules/auxiliary/dos/ssl/dtls_changecipherspec.rb
Disclosure date: 2000-04-26
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 80
List of CVEs: CVE-2009-1386

This module performs a Denial of Service Attack against Datagram TLS in OpenSSL version 0.9.8i and earlier. OpenSSL crashes under these versions when it receives a ChangeCipherspec Datagram before a ClientHello.

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/ssl/dtls_changecipherspec
msf auxiliary(dtls_changecipherspec) > show targets
    ... a list of targets ...
msf auxiliary(dtls_changecipherspec) > set TARGET target-id
msf auxiliary(dtls_changecipherspec) > show options
    ... show and set options ...
msf auxiliary(dtls_changecipherspec) > exploit

Required Options


  • RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'

Go back to menu.

Msfconsole Usage


Here is how the dos/ssl/dtls_changecipherspec auxiliary module looks in the msfconsole:

msf6 > use auxiliary/dos/ssl/dtls_changecipherspec

msf6 auxiliary(dos/ssl/dtls_changecipherspec) > show info

       Name: OpenSSL DTLS ChangeCipherSpec Remote DoS
     Module: auxiliary/dos/ssl/dtls_changecipherspec
    License: Metasploit Framework License (BSD)
       Rank: Normal
  Disclosed: 2000-04-26

Provided by:
  Jon Oberheide <[email protected]>
  theLightCosine <[email protected]>

Check supported:
  No

Basic options:
  Name    Current Setting  Required  Description
  ----    ---------------  --------  -----------
  RHOSTS                   yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
  RPORT   80               yes       The target port

Description:
  This module performs a Denial of Service Attack against Datagram TLS 
  in OpenSSL version 0.9.8i and earlier. OpenSSL crashes under these 
  versions when it receives a ChangeCipherspec Datagram before a 
  ClientHello.

References:
  https://nvd.nist.gov/vuln/detail/CVE-2009-1386
  OSVDB (55073)

Module Options


This is a complete list of options available in the dos/ssl/dtls_changecipherspec auxiliary module:

msf6 auxiliary(dos/ssl/dtls_changecipherspec) > show options

Module options (auxiliary/dos/ssl/dtls_changecipherspec):

   Name    Current Setting  Required  Description
   ----    ---------------  --------  -----------
   RHOSTS                   yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPORT   80               yes       The target port

Advanced Options


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

msf6 auxiliary(dos/ssl/dtls_changecipherspec) > show advanced

Module advanced options (auxiliary/dos/ssl/dtls_changecipherspec):

   Name                Current Setting  Required  Description
   ----                ---------------  --------  -----------
   GATEWAY_PROBE_HOST  8.8.8.8          yes       Send a TTL=1 random UDP datagram to this host to discover the default gateway's MAC
   GATEWAY_PROBE_PORT                   no        The port on GATEWAY_PROBE_HOST to send a random UDP probe to (random if 0 or unset)
   SECRET              1297303073       yes       A 32-bit cookie for probe requests.
   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/ssl/dtls_changecipherspec module can do:

msf6 auxiliary(dos/ssl/dtls_changecipherspec) > show actions

Auxiliary actions:

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

Evasion Options


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

msf6 auxiliary(dos/ssl/dtls_changecipherspec) > show evasion

Module evasion options:

   Name  Current Setting  Required  Description
   ----  ---------------  --------  -----------

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • Jon Oberheide <jon[at]oberheide.org>
  • theLightCosine

Version


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

Go back to menu.