RedHat: Korean installation program creates files
Posted by LinuxSecurity.com Team   
RedHat Linux Due to the kernel used in the Red Hat Linux 7.1 Korean installationprogram, some files are written by the installation program with the wrongpermissions.

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

Synopsis:          Red Hat Linux 7.1 Korean installation program creates files with bad umask
Advisory ID:       RHSA-2001:148-09
Issue date:        2001-11-02
Updated on:        2001-11-13
Product:           Red Hat Linux
Keywords:          umask korean 7.1 installer Anaconda
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

Due to the kernel used in the Red Hat Linux 7.1 Korean installation
program, some files are written by the installation program with the wrong
permissions.

It is recommended that all users of the Red Hat Linux 7.1 Korean
installation program use the update disk image. If users have already
installed, they should check their systems and fix the permissions on the
affected files. They can do this by installing the updated Red Hat-release
package.

2. Relevant releases/architectures:

Red Hat Linux 7.1k - noarch

3. Problem description:

In the Red Hat Linux 7.1 Korean installation program, the 2.4.3-12 kernel
sets the default umask for init to 000. This behavior is inherited by the
installation program and causes the files to be written with world-writable
permissions.

4. Solution:

If you have not installed:
--------------------------

Download the update disk image and create an update disk. This can be
done by using the same procedure used to create a boot diskette.

For more information, refer to
 
http://www.Red Hat.com/docs/manuals/linux/RHL-7.1-Manual/install-guide/s1-steps-install-cdrom.html#S2-STEPS-MAKE-DISKS

Please note that you must substitute the update disk image filename for the
filename used in the example.

When booting into the installation program, type "linux updates"
at the boot prompt, followed by any other installation options (such as
"expert" or "text" or "ks"). The installation process
will prompt you to insert the update disk when it is required, and the
installation will then proceed as normal.

If you have already installed:
------------------------------
Check the permissions on the affected files and change them as appropriate.
Or install the upgraded Red Hat-release; this will change the the
permissions during its postinstall phase.

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.

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

55569 - Some files in /etc have write permission to everyone in 7.1k

6. RPMs required:

Red Hat Linux 7.1k:

SRPMS: 
ftp://updates.Red Hat.com/7.1/kr/os/SRPMS/Red Hat-release-7.1k-2.src.rpm

noarch: 
ftp://updates.Red Hat.com/7.1/kr/os/noarch/Red Hat-release-7.1k-2.noarch.rpm

i386: 
ftp://updates.Red Hat.com/7.1/kr/os/images/i386/update-disk-20011106.img


7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
bd970c23a54e0848ec3e1fb3857ac490 7.1/kr/os/SRPMS/Red Hat-release-7.1k-2.src.rpm
dea117e94ffe362d6cefd443e308aad9 7.1/kr/os/noarch/Red Hat-release-7.1k-2.noarch.rpm
15e052916841514082fc7df588dc824e 7.1/kr/os/images/i386/update-disk-20011106.img
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/about/contact/pgpkey.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.