OpenSSL DTLS Fragment Buffer Overflow DoS - Metasploit
This page contains detailed information about how to use the auxiliary/dos/ssl/dtls_fragment_overflow metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: OpenSSL DTLS Fragment Buffer Overflow DoS
Module: auxiliary/dos/ssl/dtls_fragment_overflow
Source code: modules/auxiliary/dos/ssl/dtls_fragment_overflow.rb
Disclosure date: 2014-06-05
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 4433
List of CVEs: CVE-2014-0195
This module performs a Denial of Service Attack against Datagram TLS in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h. This occurs when a DTLS ClientHello message has multiple fragments and the fragment lengths of later fragments are larger than that of the first, a buffer overflow occurs, causing a DoS.
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_fragment_overflow
msf auxiliary(dtls_fragment_overflow) > show targets
... a list of targets ...
msf auxiliary(dtls_fragment_overflow) > set TARGET target-id
msf auxiliary(dtls_fragment_overflow) > show options
... show and set options ...
msf auxiliary(dtls_fragment_overflow) > 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_fragment_overflow auxiliary module looks in the msfconsole:
msf6 > use auxiliary/dos/ssl/dtls_fragment_overflow
msf6 auxiliary(dos/ssl/dtls_fragment_overflow) > show info
Name: OpenSSL DTLS Fragment Buffer Overflow DoS
Module: auxiliary/dos/ssl/dtls_fragment_overflow
License: Metasploit Framework License (BSD)
Rank: Normal
Disclosed: 2014-06-05
Provided by:
Juri Aedla <[email protected]>
Jon Hart <[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 4433 yes The target port (UDP)
VERSION 65279 yes SSl/TLS version
Description:
This module performs a Denial of Service Attack against Datagram TLS
in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before
1.0.1h. This occurs when a DTLS ClientHello message has multiple
fragments and the fragment lengths of later fragments are larger
than that of the first, a buffer overflow occurs, causing a DoS.
References:
https://nvd.nist.gov/vuln/detail/CVE-2014-0195
http://www.zerodayinitiative.com/advisories/ZDI-14-173
http://www.securityfocus.com/bid/67900
http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/ZDI-14-173-CVE-2014-0195-OpenSSL-DTLS-Fragment-Out-of-Bounds/ba-p/6501002
http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/Once-Bled-Twice-Shy-OpenSSL-CVE-2014-0195/ba-p/6501048
Module Options
This is a complete list of options available in the dos/ssl/dtls_fragment_overflow auxiliary module:
msf6 auxiliary(dos/ssl/dtls_fragment_overflow) > show options
Module options (auxiliary/dos/ssl/dtls_fragment_overflow):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 4433 yes The target port (UDP)
VERSION 65279 yes SSl/TLS version
Advanced Options
Here is a complete list of advanced options supported by the dos/ssl/dtls_fragment_overflow auxiliary module:
msf6 auxiliary(dos/ssl/dtls_fragment_overflow) > show advanced
Module advanced options (auxiliary/dos/ssl/dtls_fragment_overflow):
Name Current Setting Required Description
---- --------------- -------- -----------
CHOST no The local client address
CPORT no The local client port
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_fragment_overflow module can do:
msf6 auxiliary(dos/ssl/dtls_fragment_overflow) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the dos/ssl/dtls_fragment_overflow auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(dos/ssl/dtls_fragment_overflow) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
Go back to menu.
Related Pull Requests
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #3436 Merged Pull Request: Minor fixup on DTLS module
- #3429 Merged Pull Request: OpenSSL DTLS CVE-2014-0195 POC
References
- CVE-2014-0195
- ZDI-14-173
- BID-67900
- http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/ZDI-14-173-CVE-2014-0195-OpenSSL-DTLS-Fragment-Out-of-Bounds/ba-p/6501002
- http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/Once-Bled-Twice-Shy-OpenSSL-CVE-2014-0195/ba-p/6501048
See Also
Check also the following modules related to this module:
- auxiliary/dos/ssl/dtls_changecipherspec
- auxiliary/dos/ssl/openssl_aesni
- auxiliary/dos/scada/d20_tftp_overflow
- auxiliary/dos/windows/smb/ms10_054_queryfs_pool_overflow
- auxiliary/scanner/telnet/telnet_encrypt_overflow
- auxiliary/admin/http/netgear_r7000_backup_cgi_heap_overflow_rce
- exploit/multi/browser/adobe_flash_shader_job_overflow
- exploit/multi/browser/chrome_simplifiedlowering_overflow
- exploit/multi/browser/itms_overflow
- exploit/multi/ntp/ntp_overflow
- exploit/multi/upnp/libupnp_ssdp_overflow
- exploit/windows/browser/adobe_flash_casi32_int_overflow
- exploit/windows/fileformat/mswin_tiff_overflow
- exploit/windows/fileformat/nuance_pdf_launch_overflow
- exploit/windows/fileformat/wireshark_mpeg_overflow
- exploit/windows/ftp/filecopa_list_overflow
- exploit/windows/http/apache_modjk_overflow
- exploit/windows/http/badblue_ext_overflow
- exploit/windows/http/ibm_tpmfosd_overflow
- exploit/windows/http/maxdb_webdbm_get_overflow
- exploit/windows/http/minishare_get_overflow
- exploit/windows/http/navicopa_get_overflow
- exploit/windows/http/psoproxy91_overflow
- exploit/windows/http/savant_31_overflow
- exploit/windows/http/trackercam_phparg_overflow
- exploit/windows/imap/mercur_imap_select_overflow
- exploit/windows/misc/asus_dpcproxy_overflow
- exploit/windows/misc/bomberclone_overflow
- exploit/windows/misc/tiny_identd_overflow
- exploit/windows/smtp/ypops_overflow1
- auxiliary/scanner/ssl/bleichenbacher_oracle
- auxiliary/scanner/ssl/openssl_ccs
- auxiliary/scanner/ssl/openssl_heartbleed
- auxiliary/scanner/ssl/ssl_version
- exploit/windows/ssl/ms04_011_pct
Authors
- Juri Aedla <asd[at]ut.ee>
- Jon Hart <jon_hart[at]rapid7.com>
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.