rsyslog Long Tag Off-By-Two DoS - Metasploit


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

Module Overview


Name: rsyslog Long Tag Off-By-Two DoS
Module: auxiliary/dos/syslog/rsyslog_long_tag
Source code: modules/auxiliary/dos/syslog/rsyslog_long_tag.rb
Disclosure date: 2011-09-01
Last modification time: 2022-01-23 15:28:32 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 514
List of CVEs: CVE-2011-3200

This module triggers an off-by-two overflow in the rsyslog daemon. This flaw is unlikely to yield code execution but is effective at shutting down a remote log daemon. This bug was introduced in version 4.6.0 and corrected in 4.6.8/5.8.5. Compiler differences may prevent this bug from causing any noticeable result on many systems (RHEL6 is affected).

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/syslog/rsyslog_long_tag
msf auxiliary(rsyslog_long_tag) > show targets
    ... a list of targets ...
msf auxiliary(rsyslog_long_tag) > set TARGET target-id
msf auxiliary(rsyslog_long_tag) > show options
    ... show and set options ...
msf auxiliary(rsyslog_long_tag) > 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/syslog/rsyslog_long_tag auxiliary module looks in the msfconsole:

msf6 > use auxiliary/dos/syslog/rsyslog_long_tag

msf6 auxiliary(dos/syslog/rsyslog_long_tag) > show info

       Name: rsyslog Long Tag Off-By-Two DoS
     Module: auxiliary/dos/syslog/rsyslog_long_tag
    License: Metasploit Framework License (BSD)
       Rank: Normal
  Disclosed: 2011-09-01

Provided by:
  hdm <[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   514              yes       The target port (UDP)

Description:
  This module triggers an off-by-two overflow in the rsyslog daemon. 
  This flaw is unlikely to yield code execution but is effective at 
  shutting down a remote log daemon. This bug was introduced in 
  version 4.6.0 and corrected in 4.6.8/5.8.5. Compiler differences may 
  prevent this bug from causing any noticeable result on many systems 
  (RHEL6 is affected).

References:
  https://nvd.nist.gov/vuln/detail/CVE-2011-3200
  http://www.rsyslog.com/potential-dos-with-malformed-tag/
  https://bugzilla.redhat.com/show_bug.cgi?id=727644

Module Options


This is a complete list of options available in the dos/syslog/rsyslog_long_tag auxiliary module:

msf6 auxiliary(dos/syslog/rsyslog_long_tag) > show options

Module options (auxiliary/dos/syslog/rsyslog_long_tag):

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

Advanced Options


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

msf6 auxiliary(dos/syslog/rsyslog_long_tag) > show advanced

Module advanced options (auxiliary/dos/syslog/rsyslog_long_tag):

   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/syslog/rsyslog_long_tag module can do:

msf6 auxiliary(dos/syslog/rsyslog_long_tag) > show actions

Auxiliary actions:

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

Evasion Options


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

msf6 auxiliary(dos/syslog/rsyslog_long_tag) > 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


hdm

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.