copyright
|
disclaimer
|
privacy
|
contact
HOME
About
AusCERT
Membership
Contact Us
PKI Services
Training
Publications
Sec. Bulletins
Conferences
News & Media
Services
Web Log
Site Map
Site Help
Member login
Login »
Become a member »
Home
»
Security Bul...
»
Security Bul...
»
AusCERT Exte...
» ESB-2012.0576 - [UNIX/Linux][RedHat] rsyslog: Multip...
ESB-2012.0576 - [UNIX/Linux][RedHat] rsyslog: Multiple vulnerabilities
Date:
21 June 2012
Click here for printable version
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2012.0576 Moderate: rsyslog security, bug fix, and enhancement update 21 June 2012 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: rsyslog Publisher: Red Hat Operating System: Red Hat Enterprise Linux Server 6 Red Hat Enterprise Linux WS/Desktop 6 UNIX variants (UNIX, Linux, OSX) Impact/Access: Execute Arbitrary Code/Commands -- Remote/Unauthenticated Denial of Service -- Remote/Unauthenticated Resolution: Patch/Upgrade CVE Names: CVE-2011-4623 Original Bulletin: https://rhn.redhat.com/errata/RHSA-2012-0796.html Comment: This advisory references vulnerabilities in products which run on platforms other than Red Hat. It is recommended that administrators running rsyslog check for an updated version of the software for their operating system. - --------------------------BEGIN INCLUDED TEXT-------------------- - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ===================================================================== Red Hat Security Advisory Synopsis: Moderate: rsyslog security, bug fix, and enhancement update Advisory ID: RHSA-2012:0796-04 Product: Red Hat Enterprise Linux Advisory URL: https://rhn.redhat.com/errata/RHSA-2012-0796.html Issue date: 2012-06-20 CVE Names: CVE-2011-4623 ===================================================================== 1. Summary: Updated rsyslog packages that fix one security issue, multiple bugs, and add two enhancements 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. 2. Relevant releases/architectures: Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64 Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64 Red Hat Enterprise Linux HPC Node (v. 6) - x86_64 Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64 Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64 Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64 Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64 Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64 3. Description: The rsyslog packages provide an enhanced, multi-threaded syslog daemon. A numeric truncation error, leading to a heap-based buffer overflow, was found in the way the rsyslog imfile module processed text files containing long lines. An attacker could use this flaw to crash the rsyslogd daemon or, possibly, execute arbitrary code with the privileges of rsyslogd, if they are able to cause a long line to be written to a log file that rsyslogd monitors with imfile. The imfile module is not enabled by default. (CVE-2011-4623) Bug fixes: * Several variables were incorrectly deinitialized with Transport Layer Security (TLS) transport and keys in PKCS#8 format. The rsyslogd daemon aborted with a segmentation fault when keys in this format were provided. Now, the variables are correctly deinitialized. (BZ#727380) * Previously, the imgssapi plug-in initialization was incomplete. As a result, the rsyslogd daemon aborted when configured to provide a GSSAPI listener. Now, the plug-in is correctly initialized. (BZ#756664) * The fully qualified domain name (FQDN) for the localhost used in messages was the first alias found. This did not always produce the expected result on multihomed hosts. With this update, the algorithm uses the alias that corresponds to the hostname. (BZ#767527) * The gtls module leaked a file descriptor every time it was loaded due to an error in the GnuTLS library. No new files or network connections could be opened when the limit for the file descriptor count was reached. This update modifies the gtls module so that it is not unloaded during the process lifetime. (BZ#803550) * rsyslog could not override the hostname to set an alternative hostname for locally generated messages. Now, the local hostname can be overridden. (BZ#805424) * The rsyslogd init script did not pass the lock file path to the 'status' action. As a result, the lock file was ignored and a wrong exit code was returned. This update modifies the init script to pass the lock file to the 'status' action. Now, the correct exit code is returned. (BZ#807608) * Data could be incorrectly deinitialized when rsyslogd was supplied with malformed spool files. The rsyslogd daemon could be aborted with a segmentation fault. This update modifies the underlying code to correctly deinitialize the data. (BZ#813079) * Previously, deinitialization of non-existent data could, in certain error cases, occur. As a result, rsyslogd could abort with a segmentation fault when rsyslog was configured to use a disk assisted queue without specifying a spool file. With this update, the error cases are handled gracefully. (BZ#813084) * The manual page wrongly stated that the '-d' option to turn on debugging caused the daemon to run in the foreground, which was misleading as the current behavior is to run in the background. Now, the manual page reflects the correct behavior. (BZ#820311) * rsyslog attempted to write debugging messages to standard output even when run in the background. This resulted in the debugging information being written to some other output. This was corrected and the debug messages are no longer written to standard output when run in the background. (BZ#820996) * The string buffer to hold the distinguished name (DN) of a certificate was too small. DNs with more than 128 characters were not displayed. This update enlarges the buffer to process longer DNs. (BZ#822118) Enhancements: * Support for rate limiting and multi-line message capability. Now, rsyslogd can limit the number of messages it accepts through a UNIX socket. (BZ#672182) * The addition of the "/etc/rsyslog.d/" configuration directory to supply syslog configuration files. (BZ#740420) All users of rsyslog are advised to upgrade to these updated packages, which upgrade rsyslog to version 5.8.10 and correct these issues and add these enhancements. After installing this update, the rsyslog daemon will be restarted automatically. 4. Solution: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 5. Bugs fixed (http://bugzilla.redhat.com/): 740420 - Add a /etc/rsyslog.d config directory 769822 - CVE-2011-4623 rsyslog: DoS due integer signedness error while extending rsyslog counted string buffer 803550 - rsyslog fails to initialize gtls driver because of too many open files 813079 - rsyslog segfaults attempting to read a malformed / old format spool file 813084 - rsyslog segfaults when configured with disk queue with non-existent (unnamed) spool file 820311 - Manpage: rsyslogd does the fork in debug mode while manpage says otherwise 820996 - rsyslog writes debug messages to fd 1 even after forking 6. Package List: Red Hat Enterprise Linux Desktop (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/rsyslog-5.8.10-2.el6.src.rpm i386: rsyslog-5.8.10-2.el6.i686.rpm rsyslog-debuginfo-5.8.10-2.el6.i686.rpm rsyslog-gnutls-5.8.10-2.el6.i686.rpm rsyslog-gssapi-5.8.10-2.el6.i686.rpm rsyslog-relp-5.8.10-2.el6.i686.rpm x86_64: rsyslog-5.8.10-2.el6.x86_64.rpm rsyslog-debuginfo-5.8.10-2.el6.x86_64.rpm rsyslog-gnutls-5.8.10-2.el6.x86_64.rpm rsyslog-gssapi-5.8.10-2.el6.x86_64.rpm rsyslog-relp-5.8.10-2.el6.x86_64.rpm Red Hat Enterprise Linux Desktop Optional (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/rsyslog-5.8.10-2.el6.src.rpm i386: rsyslog-debuginfo-5.8.10-2.el6.i686.rpm rsyslog-mysql-5.8.10-2.el6.i686.rpm rsyslog-pgsql-5.8.10-2.el6.i686.rpm rsyslog-snmp-5.8.10-2.el6.i686.rpm x86_64: rsyslog-debuginfo-5.8.10-2.el6.x86_64.rpm rsyslog-mysql-5.8.10-2.el6.x86_64.rpm rsyslog-pgsql-5.8.10-2.el6.x86_64.rpm rsyslog-snmp-5.8.10-2.el6.x86_64.rpm Red Hat Enterprise Linux HPC Node (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/rsyslog-5.8.10-2.el6.src.rpm x86_64: rsyslog-5.8.10-2.el6.x86_64.rpm rsyslog-debuginfo-5.8.10-2.el6.x86_64.rpm rsyslog-gnutls-5.8.10-2.el6.x86_64.rpm rsyslog-gssapi-5.8.10-2.el6.x86_64.rpm rsyslog-relp-5.8.10-2.el6.x86_64.rpm Red Hat Enterprise Linux HPC Node Optional (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/rsyslog-5.8.10-2.el6.src.rpm x86_64: rsyslog-debuginfo-5.8.10-2.el6.x86_64.rpm rsyslog-mysql-5.8.10-2.el6.x86_64.rpm rsyslog-pgsql-5.8.10-2.el6.x86_64.rpm rsyslog-snmp-5.8.10-2.el6.x86_64.rpm Red Hat Enterprise Linux Server (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/rsyslog-5.8.10-2.el6.src.rpm i386: rsyslog-5.8.10-2.el6.i686.rpm rsyslog-debuginfo-5.8.10-2.el6.i686.rpm rsyslog-gnutls-5.8.10-2.el6.i686.rpm rsyslog-gssapi-5.8.10-2.el6.i686.rpm rsyslog-mysql-5.8.10-2.el6.i686.rpm rsyslog-pgsql-5.8.10-2.el6.i686.rpm rsyslog-relp-5.8.10-2.el6.i686.rpm ppc64: rsyslog-5.8.10-2.el6.ppc64.rpm rsyslog-debuginfo-5.8.10-2.el6.ppc64.rpm rsyslog-gnutls-5.8.10-2.el6.ppc64.rpm rsyslog-gssapi-5.8.10-2.el6.ppc64.rpm rsyslog-mysql-5.8.10-2.el6.ppc64.rpm rsyslog-pgsql-5.8.10-2.el6.ppc64.rpm rsyslog-relp-5.8.10-2.el6.ppc64.rpm s390x: rsyslog-5.8.10-2.el6.s390x.rpm rsyslog-debuginfo-5.8.10-2.el6.s390x.rpm rsyslog-gnutls-5.8.10-2.el6.s390x.rpm rsyslog-gssapi-5.8.10-2.el6.s390x.rpm rsyslog-mysql-5.8.10-2.el6.s390x.rpm rsyslog-pgsql-5.8.10-2.el6.s390x.rpm rsyslog-relp-5.8.10-2.el6.s390x.rpm x86_64: rsyslog-5.8.10-2.el6.x86_64.rpm rsyslog-debuginfo-5.8.10-2.el6.x86_64.rpm rsyslog-gnutls-5.8.10-2.el6.x86_64.rpm rsyslog-gssapi-5.8.10-2.el6.x86_64.rpm rsyslog-mysql-5.8.10-2.el6.x86_64.rpm rsyslog-pgsql-5.8.10-2.el6.x86_64.rpm rsyslog-relp-5.8.10-2.el6.x86_64.rpm Red Hat Enterprise Linux Server Optional (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/rsyslog-5.8.10-2.el6.src.rpm i386: rsyslog-debuginfo-5.8.10-2.el6.i686.rpm rsyslog-snmp-5.8.10-2.el6.i686.rpm ppc64: rsyslog-debuginfo-5.8.10-2.el6.ppc64.rpm rsyslog-snmp-5.8.10-2.el6.ppc64.rpm s390x: rsyslog-debuginfo-5.8.10-2.el6.s390x.rpm rsyslog-snmp-5.8.10-2.el6.s390x.rpm x86_64: rsyslog-debuginfo-5.8.10-2.el6.x86_64.rpm rsyslog-snmp-5.8.10-2.el6.x86_64.rpm Red Hat Enterprise Linux Workstation (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/rsyslog-5.8.10-2.el6.src.rpm i386: rsyslog-5.8.10-2.el6.i686.rpm rsyslog-debuginfo-5.8.10-2.el6.i686.rpm rsyslog-gnutls-5.8.10-2.el6.i686.rpm rsyslog-gssapi-5.8.10-2.el6.i686.rpm rsyslog-mysql-5.8.10-2.el6.i686.rpm rsyslog-pgsql-5.8.10-2.el6.i686.rpm rsyslog-relp-5.8.10-2.el6.i686.rpm x86_64: rsyslog-5.8.10-2.el6.x86_64.rpm rsyslog-debuginfo-5.8.10-2.el6.x86_64.rpm rsyslog-gnutls-5.8.10-2.el6.x86_64.rpm rsyslog-gssapi-5.8.10-2.el6.x86_64.rpm rsyslog-mysql-5.8.10-2.el6.x86_64.rpm rsyslog-pgsql-5.8.10-2.el6.x86_64.rpm rsyslog-relp-5.8.10-2.el6.x86_64.rpm Red Hat Enterprise Linux Workstation Optional (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/rsyslog-5.8.10-2.el6.src.rpm i386: rsyslog-debuginfo-5.8.10-2.el6.i686.rpm rsyslog-snmp-5.8.10-2.el6.i686.rpm x86_64: rsyslog-debuginfo-5.8.10-2.el6.x86_64.rpm rsyslog-snmp-5.8.10-2.el6.x86_64.rpm These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/#package 7. References: https://www.redhat.com/security/data/cve/CVE-2011-4623.html https://access.redhat.com/security/updates/classification/#moderate 8. Contact: The Red Hat security contact is
. More contact details at https://access.redhat.com/security/team/contact/ Copyright 2012 Red Hat, Inc. - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFP4YpyXlSAg2UNWIIRAj37AJ0aCt34AhiGAlp+8cGlA9wcczi3WgCgvyHt 9pnAdPo1W4pu4Vc1qX4xS1w= =Skcj - -----END PGP SIGNATURE----- - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. NOTE: Third Party Rights This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the author's website to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/render.html?cid=1980 =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iQIVAwUBT+Jm+e4yVqjM2NGpAQL6QA/+Ldu7dgJnkYVOG8lDlOeg4ctARaRzlOS7 5mkL7W39Tmyv/L2/qiMb121M1VFbo2gDno/SmeVIZig40r+licUVoovFA9RJ+qJC 11hKaUEgEEKEJfA2LXZPYXuzD0Fnt0YI1Pbk0sgtsdmcrOqKr34F1OKPdDYM0YcR 9D82G5lSA4dnW39wuePNaHc5eYGjHVPS+A7kJOn5YXqiD2+umjxVHCFuVcp8psSb MeyNGBq7D/E34FsybJurCXwYVyaE4TBxaFo2kEdsEL8DOmfXHg9ap84P2JMSByXw jMyjnMGYUNvYbUCNI1y7062DY6dNRIZdPwDfwin5RURj1BYXUdPEECrFpl9wYSwZ BJdaRTfdbhmtOVWyTbBKd0S1mQIZ45b5GUWoMTiFViHac5IKEmXz+MtuDJDpRX9L n/gZzZCZ6SMWgGE4ogMBchw1Srw1xNHmiTp9x6rcIkks3m+/pWvEoukHc4TSXCwl rg50YD/tVQEofo6ftGtdmdKc+bXMuLhuwcb9VMQoHphD4J0JDaerpqj/e5+x5tCd /dClAcRHosRXgWpYtgHiq2j8s+3jUff1WhSllBpvkyWWtEO50HRkzx8UJgH0YbWu 9NfPnoGBTWyZdDDEyTG+rC8u2IxqgPZyKkCyOneuT7j3MxaEUnXt8R1LWLltFFS/ ZHtAlcsCmLY= =pxac -----END PGP SIGNATURE-----
Comments? Click here
http://www.auscert.org.au/render.html?cid=1980&it=15973