Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2002.168 -- RHSA-2002:053-12 and RHSA-2002:054-09 Race conditions in logwatch 8 April 2002 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: logwatch Vendor: Red Hat Operating System: Red Hat Linux 7.2 Red Hat Powertools 7.1 Red Hat Powertools 7.0 Red Hat Powertools 6.2 Impact: Root Compromise Access Required: Existing Account Note: There are two Red Hat Security Advisories included in this bulletin. - --------------------------BEGIN INCLUDED TEXT-------------------- - --------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Race conditions in logwatch Advisory ID: RHSA-2002:053-12 Issue date: 2002-03-28 Updated on: 2002-04-04 Product: Red Hat Linux Keywords: logwatch tmp race Cross references: RHSA-2002:054 Obsoletes: - --------------------------------------------------------------------- 1. Topic: Updated LogWatch packages are available that fix tmp file race conditions which can cause a local user to gain root privileges. 2. Relevant releases/architectures: Red Hat Linux 7.2 - noarch 3. Problem description: LogWatch is a customizable log analysis system which is used by default in Red Hat Linux 7.2. Versions of LogWatch 2.1.1 and earlier have a vulnerability due to a race condition during the creation of a temporary directory. This vulnerability can allow a local user to gain root privileges. An additional race condition was found in versions of LogWatch 2.5 and earlier. Users should update to the errata packages containing Logwatch 2.6, which are not vulnerable to these issues. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CAN-2002-0162 and CAN-2002-0165 to these issues. 4. Solution: Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs. Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. 5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info): 62055 - A /tmp race condition leads to root 46371 - Handle accepted packets, not just reject and deny 56191 - logwatch is too noisy 58578 - Problem with RPM dependance 61202 - Logwatch logs appear to have emerged themselves with other logfiles. They are semi-unreadable 61829 - logwatch's sshd filter should scan secure logs 61831 - logwatch modprobe filter should allow dashes in module names 61832 - secure filter should ignore sshd messages 6. RPMs required: Red Hat Linux 7.2: SRPMS: ftp://updates.redhat.com/7.2/en/os/SRPMS/logwatch-2.6-1.src.rpm noarch: ftp://updates.redhat.com/7.2/en/os/noarch/logwatch-2.6-1.noarch.rpm 7. Verification: MD5 sum Package Name - -------------------------------------------------------------------------- bb75f22ed70447d6a46d5d5b2a7ec7aa 7.2/en/os/SRPMS/logwatch-2.6-1.src.rpm ac8ea7498a2d6b14bb325a511cf8ba6b 7.2/en/os/noarch/logwatch-2.6-1.noarch.rpm These packages are GPG signed by Red Hat, Inc. for security. Our key is available at: http://www.redhat.com/about/contact/pgpkey.html You can verify each package with the following command: rpm --checksig <filename> If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: rpm --checksig --nogpg <filename> 8. References: http://list.kaybee.org/archives/logwatch-announce/2002-March/000002.html http://list.kaybee.org/archives/logwatch-announce/2002-March/000003.html http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0162 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0165 Copyright(c) 2000, 2001, 2002 Red Hat, Inc. - --------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Race conditions in logwatch Advisory ID: RHSA-2002:054-09 Issue date: 2002-03-28 Updated on: 2002-04-04 Product: Red Hat Powertools Keywords: logwatch tmp race Cross references: RHSA-2002:053 Obsoletes: - --------------------------------------------------------------------- 1. Topic: Updated LogWatch packages are available that fix tmp file race conditions which can cause a local user to gain root privileges. 2. Relevant releases/architectures: Red Hat Powertools 6.2 - noarch Red Hat Powertools 7.0 - noarch Red Hat Powertools 7.1 - noarch 3. Problem description: LogWatch is a customizable log analysis system which was available in Red Hat Powertools. Versions of LogWatch 2.1.1 and earlier have a vulnerability due to a race condition during the creation of a temporary directory. This vulnerability can allow a local user to gain root privileges. An additional race condition was found in versions of LogWatch 2.5 and earlier. Users should update to the errata packages containing Logwatch 2.6, which is not vulnerable to these issues. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CAN-2002-0162 and CAN-2002-0165 to these issues. 4. Solution: Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs. Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. 5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info): 62055 - A /tmp race condition leads to root 46371 - Handle accepted packets, not just reject and deny 56191 - logwatch is too noisy 58578 - Problem with RPM dependance 61202 - Logwatch logs appear to have emerged themselves with other logfiles. They are semi-unreadable 61829 - logwatch's sshd filter should scan secure logs 61831 - logwatch modprobe filter should allow dashes in module names 61832 - secure filter should ignore sshd messages 6. RPMs required: Red Hat Powertools 6.2: SRPMS: ftp://updates.redhat.com/6.2/en/powertools/SRPMS/logwatch-2.6-1.src.rpm noarch: ftp://updates.redhat.com/6.2/en/powertools/noarch/logwatch-2.6-1.noarch.rpm Red Hat Powertools 7.0: SRPMS: ftp://updates.redhat.com/7.0/en/powertools/SRPMS/logwatch-2.6-1.src.rpm noarch: ftp://updates.redhat.com/7.0/en/powertools/noarch/logwatch-2.6-1.noarch.rpm Red Hat Powertools 7.1: SRPMS: ftp://updates.redhat.com/7.1/en/powertools/SRPMS/logwatch-2.6-1.src.rpm noarch: ftp://updates.redhat.com/7.1/en/powertools/noarch/logwatch-2.6-1.noarch.rpm 7. Verification: MD5 sum Package Name - -------------------------------------------------------------------------- bb75f22ed70447d6a46d5d5b2a7ec7aa 6.2/en/powertools/SRPMS/logwatch-2.6-1.src.rpm ac8ea7498a2d6b14bb325a511cf8ba6b 6.2/en/powertools/noarch/logwatch-2.6-1.noarch.rpm bb75f22ed70447d6a46d5d5b2a7ec7aa 7.0/en/powertools/SRPMS/logwatch-2.6-1.src.rpm ac8ea7498a2d6b14bb325a511cf8ba6b 7.0/en/powertools/noarch/logwatch-2.6-1.noarch.rpm bb75f22ed70447d6a46d5d5b2a7ec7aa 7.1/en/powertools/SRPMS/logwatch-2.6-1.src.rpm ac8ea7498a2d6b14bb325a511cf8ba6b 7.1/en/powertools/noarch/logwatch-2.6-1.noarch.rpm These packages are GPG signed by Red Hat, Inc. for security. Our key is available at: http://www.redhat.com/about/contact/pgpkey.html You can verify each package with the following command: rpm --checksig <filename> If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: rpm --checksig --nogpg <filename> 8. References: http://list.kaybee.org/archives/logwatch-announce/2002-March/000002.html http://list.kaybee.org/archives/logwatch-announce/2002-March/000003.html http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0162 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0165 Copyright(c) 2000, 2001, 2002 Red Hat, Inc. - --------------------------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. 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 use any or all of this information is the responsibility of each user or organisation, and should be done so in accordance with site policies and procedures. 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 original authors 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/Information/advisories.html If you believe that your system has been compromised, contact AusCERT or your representative in FIRST (Forum of Incident Response and Security Teams). 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 emergencies. -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key iQCVAwUBPLHJ+yh9+71yA2DNAQGXRgP/XGB0zhObjgafFWUGhpE5iljnx0xJFE26 i4VSR8BIUDg84xp8ScWqBjcy26hLRYzvonCxWZ5PSgKx0eUKatGR7c/4BTb29hxR wEWvuu5ZQ2jSLgzwgaBaox9HtE1+NnOwbC0SU21a4UiM8DlKIZEbnf9zu8c9x+Bl NTRAFnR/+JQ= =Kud2 -----END PGP SIGNATURE-----