-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                     ESB-2004.0208 -- RHSA-2004:053-01
           Updated sysstat packages fix security vulnerabilities
                               15 March 2004

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                sysstat
Publisher:              Red Hat
Operating System:       Red Hat Enterprise Linux AS 2.1 and 3
                        Red Hat Enterprise Linux ES 2.1 and 3
                        Red Hat Enterprise Linux WS 2.1 and 3
                        Red Hat Linux Advanced Workstation 2.1
Impact:                 Overwrite Arbitrary Files
Access Required:        Existing Account
CVE Names:              CAN-2004-0107 CAN-2004-0108

Ref:                    ESB-2004.0198

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated sysstat packages fix security vulnerabilities
Advisory ID:       RHSA-2004:053-01
Issue date:        2004-03-10
Updated on:        2004-03-10
Product:           Red Hat Enterprise Linux
Keywords:          
Cross references:  
Obsoletes:         
CVE Names:         CAN-2004-0107 CAN-2004-0108
- - ---------------------------------------------------------------------

1. Topic:

Updated sysstat packages that fix various bugs and security issues are now
available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux ES version 3 - i386
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

Sysstat is a tool for gathering system statistics. Isag is a utility for
graphically displaying these statistics.

A bug was found in the Red Hat sysstat package post and trigger scripts,
which used insecure temporary file names. A local attacker could overwrite
system files using carefully-crafted symbolic links in the /tmp directory.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2004-0107 to this issue.

While fixing this issue, a flaw was discovered in the isag utility, which
also used insecure temporary file names. A local attacker could overwrite
files that the user running isag has write access to using
carefully-crafted symbolic links in the /tmp directory.  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2004-0108 to this issue.

Other issues addressed in this advisory include:

* iostat -x should return all partitions on the system (up to a maximum of
1024)

* sar should handle network device names with more than 8 characters properly

* mpstat should work correctly with more than 7 CPUs as well as generate
correct statistics when accessing individual CPUs.  This issue only
affected Red Hat Enterprise Linux 2.1

* The sysstat package was not built with the proper dependencies;
therefore, it was possible that isag could not be run because the necessary
 tools were not available.  Therefore, isag was split off into its own
subpackage with the required dependencies in place.  This issue only
affects Red Hat Enterprise Linux 2.1.

Users of sysstat and isag should upgrade to these updated packages, which
contain patches to correct these issues.

NOTE: In order to use isag on Red Hat Enterprise Linux 2.1, you must
install the sysstat-isag package after upgrading.

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.

If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate.  The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

78212 - sysstat package post scripts, trigger scripts use insecure tmp files
90574 - mpstat doesn't report on more than 7 cpus
92052 - sar doesn't seem to handle interface names greater than eight chars
110822 - RHEL 3 U2: iostat -x only returns a small set of the partitions on the system

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/sysstat-4.0.1-12.src.rpm

i386:
Available from Red Hat Network: sysstat-4.0.1-12.i386.rpm
Available from Red Hat Network: sysstat-isag-4.0.1-12.i386.rpm

ia64:
Available from Red Hat Network: sysstat-4.0.1-12.ia64.rpm
Available from Red Hat Network: sysstat-isag-4.0.1-12.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/sysstat-4.0.1-12.src.rpm

ia64:
Available from Red Hat Network: sysstat-4.0.1-12.ia64.rpm
Available from Red Hat Network: sysstat-isag-4.0.1-12.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/sysstat-4.0.1-12.src.rpm

i386:
Available from Red Hat Network: sysstat-4.0.1-12.i386.rpm
Available from Red Hat Network: sysstat-isag-4.0.1-12.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/sysstat-4.0.1-12.src.rpm

i386:
Available from Red Hat Network: sysstat-4.0.1-12.i386.rpm
Available from Red Hat Network: sysstat-isag-4.0.1-12.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/sysstat-4.0.7-4.EL3.2.src.rpm

i386:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.i386.rpm

ia64:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.ia64.rpm

ppc:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.ppc.rpm

s390:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.s390.rpm

s390x:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.s390x.rpm

x86_64:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/sysstat-4.0.7-4.EL3.2.src.rpm

i386:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.i386.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/sysstat-4.0.7-4.EL3.2.src.rpm

i386:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.i386.rpm

ia64:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.ia64.rpm

x86_64:
Available from Red Hat Network: sysstat-4.0.7-4.EL3.2.x86_64.rpm



7. Verification:

MD5 sum                          Package Name
- - --------------------------------------------------------------------------

176f1fd17f8265c8de4bc93d1bd1b514 2.1AS/en/os/SRPMS/sysstat-4.0.1-12.src.rpm
b80a452325ad02680631550c2c3b6a85 2.1AS/en/os/i386/sysstat-4.0.1-12.i386.rpm
9aa4781c7439d156db671588dac188f3 2.1AS/en/os/i386/sysstat-isag-4.0.1-12.i386.rpm
49239a90e360bef7b37f7d554d259796 2.1AS/en/os/ia64/sysstat-4.0.1-12.ia64.rpm
34ba11ecc8131ee90ad2a365d7e5bee7 2.1AS/en/os/ia64/sysstat-isag-4.0.1-12.ia64.rpm
176f1fd17f8265c8de4bc93d1bd1b514 2.1AW/en/os/SRPMS/sysstat-4.0.1-12.src.rpm
49239a90e360bef7b37f7d554d259796 2.1AW/en/os/ia64/sysstat-4.0.1-12.ia64.rpm
34ba11ecc8131ee90ad2a365d7e5bee7 2.1AW/en/os/ia64/sysstat-isag-4.0.1-12.ia64.rpm
176f1fd17f8265c8de4bc93d1bd1b514 2.1ES/en/os/SRPMS/sysstat-4.0.1-12.src.rpm
b80a452325ad02680631550c2c3b6a85 2.1ES/en/os/i386/sysstat-4.0.1-12.i386.rpm
9aa4781c7439d156db671588dac188f3 2.1ES/en/os/i386/sysstat-isag-4.0.1-12.i386.rpm
176f1fd17f8265c8de4bc93d1bd1b514 2.1WS/en/os/SRPMS/sysstat-4.0.1-12.src.rpm
b80a452325ad02680631550c2c3b6a85 2.1WS/en/os/i386/sysstat-4.0.1-12.i386.rpm
9aa4781c7439d156db671588dac188f3 2.1WS/en/os/i386/sysstat-isag-4.0.1-12.i386.rpm
724dbc7aaed96c05eab1ce93f43e6c5f 3AS/en/os/SRPMS/sysstat-4.0.7-4.EL3.2.src.rpm
1000e06056fd11484b2cf6f564e3bd52 3AS/en/os/i386/sysstat-4.0.7-4.EL3.2.i386.rpm
22fee83220ce18416e50e0a9873e6e20 3AS/en/os/ia64/sysstat-4.0.7-4.EL3.2.ia64.rpm
d3c02ee264f1bf914b370bd94339e358 3AS/en/os/ppc/sysstat-4.0.7-4.EL3.2.ppc.rpm
834d6055749a352b536a2a7d65539c55 3AS/en/os/s390/sysstat-4.0.7-4.EL3.2.s390.rpm
098e4e7fe84ffc54349071d4b9f24031 3AS/en/os/s390x/sysstat-4.0.7-4.EL3.2.s390x.rpm
b1dce2547aa02fed9a5adfa4648b762e 3AS/en/os/x86_64/sysstat-4.0.7-4.EL3.2.x86_64.rpm
724dbc7aaed96c05eab1ce93f43e6c5f 3ES/en/os/SRPMS/sysstat-4.0.7-4.EL3.2.src.rpm
1000e06056fd11484b2cf6f564e3bd52 3ES/en/os/i386/sysstat-4.0.7-4.EL3.2.i386.rpm
724dbc7aaed96c05eab1ce93f43e6c5f 3WS/en/os/SRPMS/sysstat-4.0.7-4.EL3.2.src.rpm
1000e06056fd11484b2cf6f564e3bd52 3WS/en/os/i386/sysstat-4.0.7-4.EL3.2.i386.rpm
22fee83220ce18416e50e0a9873e6e20 3WS/en/os/ia64/sysstat-4.0.7-4.EL3.2.ia64.rpm
b1dce2547aa02fed9a5adfa4648b762e 3WS/en/os/x86_64/sysstat-4.0.7-4.EL3.2.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key is
available from https://www.redhat.com/security/keys.html

You can verify each package with the following command:
    
    rpm --checksig -v <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:
    
    md5sum <filename>


8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0107
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0108

9. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFAT3SFXlSAg2UNWIIRAkzCAKCKvrh2r5QWC0Ldycv6b50zKCBdNQCdHVFy
cuG08jpwzNXfyCovO2ik+wc=
=8DJe
- -----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.

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

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

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

iQCVAwUBQFVa+Sh9+71yA2DNAQKNdAP+MJCwfM9jTjGOdRaGykaUtCu1Slcx5+3r
r3ExkXmm9zz4n6zWJPXQgWc95CDfLkjbC9243xXDU3EhBEZJAkR91KSlm/wnLASQ
+71QPVgE7q6z7ryff7JMQnzHe9YxVm3+slfbLo+jvM8KWuyXnCqOde+3YrK1awT9
8AZL9QXiSI0=
=kuC3
-----END PGP SIGNATURE-----