-----BEGIN PGP SIGNED MESSAGE-----

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

                     ESB-2002.415 -- RHSA-2002:156-04
          Updated secureweb packages fix temporary file handling
                              12 August 2002

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

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

Product:                secureweb
Vendor:                 Red Hat
Operating System:       Red Hat Secure Web Server 3.2
Platform:               i386
Impact:                 Overwrite Arbitrary Files
Access Required:        Existing Account

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

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

Synopsis:          Updated secureweb packages fix temporary file handling
Advisory ID:       RHSA-2002:156-04
Issue date:        2002-07-25
Updated on:        2002-08-05
Product:           Red Hat Secure Web Server
Keywords:          mm temporary file
Cross references:  
Obsoletes:         
CVE Names:         CAN-2002-0658
- ---------------------------------------------------------------------

1. Topic:

Updated secureweb packages are now available for Red Hat Secure Web Server
3.2.  These updates address possible vulnerabilities in how the MM library
opens temporary files.

2. Relevant releases/architectures:

Red Hat Secure Web Server 3.2 - i386

3. Problem description:

The MM library provides an abstraction layer which allows related processes
to easily share data.  On systems where shared memory or other
inter-process communication mechanisms are not available, the MM library
will emulate them using temporary files.  MM is used in Red Hat Secure Web
Server to provide shared memory pools to Apache modules.

Versions of MM up to and including 1.1.3 open temporary files in an unsafe
manner, allowing a malicious local user to cause an application which uses
MM to overwrite any file to which it has write access.

All users are advised to upgrade to these errata packages which contain a
patched version of MM that is not vulnerable to this issue.

Thanks to Marcus Meissner for providing a patch for this issue.

4. Solution:

Some of these files are distributed in rhmask format and may only be used
by individuals who have purchased Red Hat Linux 6.2 Professional.

To produce installable RPM files from the rhmask files, retrieve the rhmask
files via ftp and type the following command:

rhmask secureweb-3.2-12.i386.rpm secureweb-3.2.8-1.i386.rpm.rhmask

The original RPM is located only on your Secure Web Server CD, and cannot
be obtained via the Internet.

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.

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

59504 - *-config scripts suggests bad CFLAGS
68895 - mm not compiled to use SysV shared memory or semaphores
68896 - mm doesn't change ownership properly of SysV semaphores

6. RPMs required:

Red Hat Secure Web Server 3.2:

SRPMS:
ftp://updates.redhat.com/other_prod/secureweb/3.2/SRPMS/secureweb-3.2.8-1.nosrc.rpm

i386:
ftp://updates.redhat.com/other_prod/secureweb/3.2/i386/secureweb-3.2.8-1.i386.rpm.rhmask
ftp://updates.redhat.com/other_prod/secureweb/3.2/i386/secureweb-devel-3.2.8-1.i386.rpm
ftp://updates.redhat.com/other_prod/secureweb/3.2/i386/secureweb-manual-3.2.8-1.i386.rpm



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
85a7c56c013e8cc346451bf7d06dbcd0 other_prod/secureweb/3.2/SRPMS/secureweb-3.2.8-1.nosrc.rpm
313617c2625c6e3e585d15869b8cefa6 other_prod/secureweb/3.2/i386/secureweb-3.2.8-1.i386.rpm.rhmask
19157b2b333f83fe4d1ab28891d9b927 other_prod/secureweb/3.2/i386/secureweb-devel-3.2.8-1.i386.rpm
736d705ee76c1ebf7182e31a6df0d94e other_prod/secureweb/3.2/i386/secureweb-manual-3.2.8-1.i386.rpm
 

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

http://www.engelschall.com/sw/mm/
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0658



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

- --------------------------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 use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

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 original authors 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/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

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-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPVf1FSh9+71yA2DNAQExFgP+McdDmm7Yoq8rH8w2Io3SCurKvp4Ldx/e
GpNdp0IjT33tOiNHJ60Rc2cyOVZcp/6d7td3W45TcrcpEqDSLd0aaMPoeitnu4PE
5CIKt3D8UAwIT2Aofunnh7Pv0m+Y95FBmK06WYSiVFEuHtE+P19PsNIQtqfhedt9
m1fDz5Idp58=
=Mqpw
-----END PGP SIGNATURE-----