Vulnerabilities > CVE-2011-3200 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Rsyslog

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
rsyslog
CWE-119
nessus
metasploit

Summary

Stack-based buffer overflow in the parseLegacySyslogMsg function in tools/syslogd.c in rsyslogd in rsyslog 4.6.x before 4.6.8 and 5.2.0 through 5.8.4 might allow remote attackers to cause a denial of service (application exit) via a long TAG in a legacy syslog message.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Metasploit

descriptionThis 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).
idMSF:AUXILIARY/DOS/SYSLOG/RSYSLOG_LONG_TAG
last seen2020-06-13
modified2017-07-24
published2011-09-02
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/auxiliary/dos/syslog/rsyslog_long_tag.rb
titlersyslog Long Tag Off-By-Two DoS

Nessus

  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2011-12616.NASL
    descriptionnew upstream version 5.8.5 which fixes CVE-2011-3200 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id56292
    published2011-09-26
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/56292
    titleFedora 15 : rsyslog-5.8.5-1.fc15 (2011-12616)
  • NASL familyNewStart CGSL Local Security Checks
    NASL idNEWSTART_CGSL_NS-SA-2019-0225_RSYSLOG.NASL
    descriptionThe remote NewStart CGSL host, running version CORE 5.04 / MAIN 5.04, has rsyslog packages installed that are affected by a vulnerability: - Stack-based buffer overflow in the parseLegacySyslogMsg function in tools/syslogd.c in rsyslogd in rsyslog 4.6.x before 4.6.8 and 5.2.0 through 5.8.4 might allow remote attackers to cause a denial of service (application exit) via a long TAG in a legacy syslog message. (CVE-2011-3200) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id131408
    published2019-12-02
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131408
    titleNewStart CGSL CORE 5.04 / MAIN 5.04 : rsyslog Vulnerability (NS-SA-2019-0225)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-1224-1.NASL
    descriptionIt was discovered that rsyslog had an off-by-two error when parsing legacy syslog messages. An attacker could potentially exploit this to cause a denial of service via application crash. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id56384
    published2011-10-04
    reporterUbuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/56384
    titleUbuntu 11.04 : rsyslog vulnerability (USN-1224-1)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2011-12250.NASL
    descriptionnew upstream version 5.8.5 which fixes CVE-2011-3200 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id56185
    published2011-09-14
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/56185
    titleFedora 16 : rsyslog-5.8.5-1.fc16 (2011-12250)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2011-134.NASL
    descriptionA vulnerability was discovered and corrected in rsyslog : Stack-based buffer overflow in the parseLegacySyslogMsg function in tools/syslogd.c in rsyslogd in rsyslog 4.6.x before 4.6.8 and 5.2.0 through 5.8.4 might allow remote attackers to cause a denial of service (application exit) via a long TAG in a legacy syslog message (CVE-2011-3200). The updated packages have been patched to correct this issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id56160
    published2011-09-12
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/56160
    titleMandriva Linux Security Advisory : rsyslog (MDVSA-2011:134-1)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2011-1247.NASL
    descriptionFrom Red Hat Security Advisory 2011:1247 : Updated rsyslog packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The rsyslog packages provide an enhanced, multi-threaded syslog daemon that supports MySQL, syslog/TCP, RFC 3195, permitted sender lists, filtering on any message part, and fine grained output format control. A two byte buffer overflow flaw was found in the rsyslog daemon
    last seen2020-06-01
    modified2020-06-02
    plugin id68343
    published2013-07-12
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/68343
    titleOracle Linux 6 : rsyslog (ELSA-2011-1247)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2011-12282.NASL
    descriptionupdated package which fixes CVE-2011-3200 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id56203
    published2011-09-15
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/56203
    titleFedora 14 : rsyslog-4.6.3-3.fc14 (2011-12282)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20110901_RSYSLOG_ON_SL6_X.NASL
    descriptionThe rsyslog packages provide an enhanced, multi-threaded syslog daemon that supports MySQL, syslog/TCP, RFC 3195, permitted sender lists, filtering on any message part, and fine grained output format control. A two byte buffer overflow flaw was found in the rsyslog daemon
    last seen2020-06-01
    modified2020-06-02
    plugin id61129
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/61129
    titleScientific Linux Security Update : rsyslog on SL6.x i386/x86_64
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2011-1247.NASL
    descriptionUpdated rsyslog packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The rsyslog packages provide an enhanced, multi-threaded syslog daemon that supports MySQL, syslog/TCP, RFC 3195, permitted sender lists, filtering on any message part, and fine grained output format control. A two byte buffer overflow flaw was found in the rsyslog daemon
    last seen2020-06-01
    modified2020-06-02
    plugin id56047
    published2011-09-02
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/56047
    titleRHEL 6 : rsyslog (RHSA-2011:1247)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_3_RSYSLOG-110905.NASL
    descriptionSpecially crafted log messages could crash rsyslogd (CVE-2011-3200).
    last seen2020-06-01
    modified2020-06-02
    plugin id75728
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75728
    titleopenSUSE Security Update : rsyslog (openSUSE-SU-2011:1020-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_4_RSYSLOG-110905.NASL
    descriptionSpecially crafted log messages could crash rsyslogd (CVE-2011-3200).
    last seen2020-06-01
    modified2020-06-02
    plugin id76013
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/76013
    titleopenSUSE Security Update : rsyslog (openSUSE-SU-2011:1020-1)

Redhat

advisories
bugzilla
id727644
titleCVE-2011-3200 rsyslog: parseLegacySyslogMsg off-by-two buffer overflow
oval
OR
  • commentRed Hat Enterprise Linux must be installed
    ovaloval:com.redhat.rhba:tst:20070304026
  • AND
    • commentRed Hat Enterprise Linux 6 is installed
      ovaloval:com.redhat.rhba:tst:20111656003
    • OR
      • AND
        • commentrsyslog-pgsql is earlier than 0:4.6.2-3.el6_1.2
          ovaloval:com.redhat.rhsa:tst:20111247001
        • commentrsyslog-pgsql is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20111247002
      • AND
        • commentrsyslog-mysql is earlier than 0:4.6.2-3.el6_1.2
          ovaloval:com.redhat.rhsa:tst:20111247003
        • commentrsyslog-mysql is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20111247004
      • AND
        • commentrsyslog-gssapi is earlier than 0:4.6.2-3.el6_1.2
          ovaloval:com.redhat.rhsa:tst:20111247005
        • commentrsyslog-gssapi is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20111247006
      • AND
        • commentrsyslog-gnutls is earlier than 0:4.6.2-3.el6_1.2
          ovaloval:com.redhat.rhsa:tst:20111247007
        • commentrsyslog-gnutls is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20111247008
      • AND
        • commentrsyslog-relp is earlier than 0:4.6.2-3.el6_1.2
          ovaloval:com.redhat.rhsa:tst:20111247009
        • commentrsyslog-relp is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20111247010
      • AND
        • commentrsyslog is earlier than 0:4.6.2-3.el6_1.2
          ovaloval:com.redhat.rhsa:tst:20111247011
        • commentrsyslog is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20111247012
rhsa
idRHSA-2011:1247
released2011-09-01
severityModerate
titleRHSA-2011:1247: rsyslog security update (Moderate)
rpms
  • rsyslog-0:4.6.2-3.el6_1.2
  • rsyslog-debuginfo-0:4.6.2-3.el6_1.2
  • rsyslog-gnutls-0:4.6.2-3.el6_1.2
  • rsyslog-gssapi-0:4.6.2-3.el6_1.2
  • rsyslog-mysql-0:4.6.2-3.el6_1.2
  • rsyslog-pgsql-0:4.6.2-3.el6_1.2
  • rsyslog-relp-0:4.6.2-3.el6_1.2