SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   sysstat Vendors:   Godard, Sebastien
(Fedora Issues Fix for RH Linux) sysstat 'post' and 'trigger' Scripts on Red Hat Let Local Users Gain Elevated Privileges
SecurityTracker Alert ID:  1011509
SecurityTracker URL:  http://securitytracker.com/id/1011509
CVE Reference:   CVE-2004-0107   (Links to External Site)
Date:  Oct 3 2004
Impact:   Modification of system information, Root access via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A vulnerability was reported in the Red Hat Linux sysstat package in the post and trigger scripts. A local user may be able to gain elevated privileges.

It is reported that the sysstat post and trigger scripts on Red Hat create insecure temporary file names. A local user can create a symbolic link (symlink) from a critical file on the system to a temporary file in the /tmp directory. Then, when the affected scripts are executed, the critical file will be overwritten.

Impact:   A local user may be able to gain elevated privileges on the target system.
Solution:   Fedora has released a fix.

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/sysstat-4.0.3-4.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/sysstat-4.0.3-4.legacy.i386.rpm

The verification checksums are:

b2d1ced29b39cd024169b173d01db6fa99327bfb
7.3/updates/i386/sysstat-4.0.3-4.legacy.i386.rpm
5bd937c2c0d643ba5a4dcab9c1f5ded2d67c9fb5
7.3/updates/SRPMS/sysstat-4.0.3-4.legacy.src.rpm

Vendor URL:  perso.wanadoo.fr/sebastien.godard/ (Links to External Site)
Cause:   Access control error, State error
Underlying OS:  Linux (Red Hat Linux)
Underlying OS Comments:  7.3

Message History:   This archive entry is a follow-up to the message listed below.
Mar 10 2004 sysstat 'post' and 'trigger' Scripts on Red Hat Let Local Users Gain Elevated Privileges



 Source Message Contents

Subject:  [Full-Disclosure] [FLSA-2004:1372] Updated sysstat packages fix security vulnerabilities



--=-X48mik8/VfocuGIh1CZc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

------------------------------------------------------------------------
               Fedora Legacy Update Advisory

Synopsis:          Updated sysstat packages fix security vulnerabilities
Advisory ID:       FLSA:1372
Issue date:        2004-10-03
Product:           Red Hat Linux
Keywords:          Bugfix
Cross references:  https://bugzilla.fedora.us/show_bug.cgi?id=3D1372
CVE Names:         CAN-2004-0107
------------------------------------------------------------------------


------------------------------------------------------------------------
1. Topic:

Updated sysstat packages that fix various bugs and a minor security
issue are now available.

Sysstat is a tool for gathering system statistics.=20

2. Relevent releases/architectures:

Red Hat Linux 7.3 - i386

3. Problem description:

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.

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

Users of sysstat should upgrade to these updated packages, which
contain patches to correct 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 yum and apt.  Many
people find this an easier way to apply updates.  To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the
appropriate RPMs being upgraded on your system.  This assumes that you
have yum or apt-get configured for obtaining Fedora Legacy content.
Please visit http://www fedoralegacy.org/docs for directions on how to
configure yum and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - bug #1372

6. RPMs required:

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/sysstat-4.0.3-4.l=
egacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/sysstat-4.0.3-4.le=
gacy.i386.rpm

7. Verification:

SHA1 sum                                 Package Name
---------------------------------------------------------------------------=
-

b2d1ced29b39cd024169b173d01db6fa99327bfb=20
7.3/updates/i386/sysstat-4.0.3-4.legacy.i386.rpm
5bd937c2c0d643ba5a4dcab9c1f5ded2d67c9fb5=20
7.3/updates/SRPMS/sysstat-4.0.3-4.legacy.src.rpm

These packages are GPG signed by Fedora Legacy for security.  Our key is
available from http://www.fedoralegacy org/about/security.php

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 sha1sum with the following command:

    sha1sum <filename>

8. References:

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

9. Contact:

The Fedora Legacy security contact is <secnotice@fedoralegacy.org>. More
project details at http://www.fedoralegacy.org

----------------------------------------------------------------------


--=-X48mik8/VfocuGIh1CZc
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBX3pYLMAs/0C4zNoRAkKNAJ9DdpXU5jcRVOp7QVvUuMecJlk1CACgpY+0
V4JWQzgKbTvgUS/xU2UjVus=
=wLM+
-----END PGP SIGNATURE-----

--=-X48mik8/VfocuGIh1CZc--

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC