Security Advisory Race conditions in logwatch

Advisory: RHSA-2002:054-09
Type: Security Advisory
Severity: N/A
Issued on: 2002-03-28
Last updated on: 2002-04-04
Affected Products: Powertools 6.2
Powertools 7.0
Powertools 7.1
OVAL: N/A
CVEs (cve.mitre.org): CVE-2002-0162
CVE-2002-0165

Details

Updated LogWatch packages are available that fix tmp file race conditions
which can cause a local user to gain root privileges.

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.


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.

Updated packages

Powertools 6.2

SRPMS:
ftp://updates.redhat.com/6.2/en/powertools/SRPMS/logwatch-2.6-1.src.rpm
Missing file
    bb75f22ed70447d6a46d5d5b2a7ec7aa
 
Alpha:
ftp://updates.redhat.com/6.2/en/powertools/noarch/logwatch-2.6-1.noarch.rpm
Missing file
    ac8ea7498a2d6b14bb325a511cf8ba6b
 
IA-32:
ftp://updates.redhat.com/6.2/en/powertools/noarch/logwatch-2.6-1.noarch.rpm
Missing file
    ac8ea7498a2d6b14bb325a511cf8ba6b
 
Sparc:
ftp://updates.redhat.com/6.2/en/powertools/noarch/logwatch-2.6-1.noarch.rpm
Missing file
    ac8ea7498a2d6b14bb325a511cf8ba6b
 
Powertools 7.0

SRPMS:
ftp://updates.redhat.com/7.0/en/powertools/SRPMS/logwatch-2.6-1.src.rpm
Missing file
    bb75f22ed70447d6a46d5d5b2a7ec7aa
 
Alpha:
ftp://updates.redhat.com/7.0/en/powertools/noarch/logwatch-2.6-1.noarch.rpm
Missing file
    ac8ea7498a2d6b14bb325a511cf8ba6b
 
IA-32:
ftp://updates.redhat.com/7.0/en/powertools/noarch/logwatch-2.6-1.noarch.rpm
Missing file
    ac8ea7498a2d6b14bb325a511cf8ba6b
 
Powertools 7.1

SRPMS:
ftp://updates.redhat.com/7.1/en/powertools/SRPMS/logwatch-2.6-1.src.rpm
Missing file
    bb75f22ed70447d6a46d5d5b2a7ec7aa
 
Alpha:
ftp://updates.redhat.com/7.1/en/powertools/noarch/logwatch-2.6-1.noarch.rpm
Missing file
    ac8ea7498a2d6b14bb325a511cf8ba6b
 
IA-32:
ftp://updates.redhat.com/7.1/en/powertools/noarch/logwatch-2.6-1.noarch.rpm
Missing file
    ac8ea7498a2d6b14bb325a511cf8ba6b
 

Bugs fixed (see bugzilla for more information)

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
62055 - A /tmp race condition leads to root


References


Keywords

logwatch, race, tmp


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/