dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Red Hat Security Advisory: Updated sgml-tools packages fix insecure temporary file handling

Mar 15, 2001, 08:16 (0 Talkback[s])

Date: Wed, 14 Mar 2001 17:44:00 -0500
From: bugzilla@REDHAT.COM
To: BUGTRAQ@SECURITYFOCUS.COM
Subject: [RHSA-2001:027-02] Updated sgml-tools packages fix insecure temporary file handling


                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated sgml-tools packages fix insecure temporary file handling
Advisory ID:       RHSA-2001:027-02
Issue date:        2001-03-09
Updated on:        2001-03-14
Product:           Red Hat Linux
Keywords:          sgml-tools /tmp tempfile
Cross references:
Obsoletes:

1. Topic:

Insecure handling of temporary file permissions could lead to other users on a multi-user system being able to read the documents being converted.

2. Relevant releases/architectures:


Red Hat Linux 5.2 - alpha, i386, sparc
Red Hat Linux 6.2 - alpha, i386, sparc
Red Hat Linux 7.0 - alpha, i386

3. Problem description:

Temporary files were created without any special permissions, and so in most cases would be world-readable. The fixed packages create a secure temporary directory first (readable only by the owner), and then create temporary files inside that.

4. Solution:

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 directly *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):

6. RPMs required:

Red Hat Linux 5.2:

SRPMS:
ftp://updates.redhat.com/5.2/SRPMS/sgml-tools-1.0.7-1.1.src.rpm

alpha:
ftp://updates.redhat.com/5.2/alpha/sgml-tools-1.0.7-1.1.alpha.rpm

i386:
ftp://updates.redhat.com/5.2/i386/sgml-tools-1.0.7-1.1.i386.rpm

sparc:
ftp://updates.redhat.com/5.2/sparc/sgml-tools-1.0.7-1.1.sparc.rpm

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/SRPMS/sgml-tools-1.0.9-6.2.src.rpm

alpha:
ftp://updates.redhat.com/6.2/alpha/sgml-tools-1.0.9-6.2.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/i386/sgml-tools-1.0.9-6.2.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/sparc/sgml-tools-1.0.9-6.2.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/SRPMS/sgml-tools-1.0.9-9.src.rpm

alpha:
ftp://updates.redhat.com/7.0/alpha/sgml-tools-1.0.9-9.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/i386/sgml-tools-1.0.9-9.i386.rpm

7. Verification:

MD5 sum                           Package Name

3478ce75e2e871c0f3fa9cb5cc486f41 5.2/SRPMS/sgml-tools-1.0.7-1.1.src.rpm
f98fcec334fad26a7494aef1e2177612 5.2/alpha/sgml-tools-1.0.7-1.1.alpha.rpm
3a3df2d630d4bf29ac2a3828841f3615 5.2/i386/sgml-tools-1.0.7-1.1.i386.rpm
0c1bb9cea9e4016dc893ecd6d2eaad17 5.2/sparc/sgml-tools-1.0.7-1.1.sparc.rpm
d4ef9198a75a0ca576c34509ba3f3251 6.2/SRPMS/sgml-tools-1.0.9-6.2.src.rpm
c1ad98ddab36f302cd68c31bc286adbc 6.2/alpha/sgml-tools-1.0.9-6.2.alpha.rpm
16a855840b74f58d41c4774a7dcc7cff 6.2/i386/sgml-tools-1.0.9-6.2.i386.rpm
ed8bd76347e924db8f24b93d11f67756 6.2/sparc/sgml-tools-1.0.9-6.2.sparc.rpm
c90eadd6c270f6c5ac87886bdec1587c 7.0/SRPMS/sgml-tools-1.0.9-9.src.rpm
de801fe41f0c9f772d1bc95482947bfa 7.0/alpha/sgml-tools-1.0.9-9.alpha.rpm
9e6a04a8e0b6e18f33c58fb7c02937b2 7.0/i386/sgml-tools-1.0.9-9.i386.rpm
These packages are GPG signed by Red Hat, Inc. for security. Our key is available at:
http://www.redhat.com/corp/contact.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:

Copyright(c) 2000, 2001 Red Hat, Inc.