RedHat: mount permission vulnerability
Posted by LinuxSecurity.com Team   
RedHat Linux Swap files could potentially be world-readable, meaning every user could read data in the swap file(s), possibly including passwords.

---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated mount package available
Advisory ID:       RHSA-2001:058-04
Issue date:        2001-04-25
Updated on:        2001-05-02
Product:           Red Hat Linux
Keywords:          mount swapon swap permissions
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

Updated mount packages fixing a potential security problem are available.

2. Relevant releases/architectures:



Red Hat Linux 7.1 - i386

3. Problem description:

If any swap files were created during installation of Red Hat Linux 7.1 
(they were created during updates if the user requested it), they were 
world-readable, meaning every user could read data in the swap file(s), 
possibly including passwords.

The affected swap files are called /mountpoint/SWAP and 
/mountpoint/SWAP-(numeral)

Also, this release of mount enforces sane permissions on swap space.

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.Red Hat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 7.1:

SRPMS: 
ftp://updates.Red Hat.com/7.1/en/os/SRPMS/mount-2.11b-3.src.rpm

i386: 
ftp://updates.Red Hat.com/7.1/en/os/i386/mount-2.11b-3.i386.rpm 
ftp://updates.Red Hat.com/7.1/en/os/i386/losetup-2.11b-3.i386.rpm


7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
2204ac697288b353d73c8b846c9edcb9 7.1/en/os/SRPMS/mount-2.11b-3.src.rpm
885fbe4c6779bf5452634675c8878547 7.1/en/os/i386/losetup-2.11b-3.i386.rpm
a4852c1e3969f28769ba346333ef8f7d 7.1/en/os/i386/mount-2.11b-3.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/corp/contact.html

You can verify each package with the following command:
    rpm --checksig  

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 

8. References:




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