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

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

                     ESB-2003.0263 -- RHSA-2003:036-01
                     Updated mgetty packages available
                               09 April 2003

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

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

Product:                mgetty
Vendor:                 Red Hat
Operating System:       Red Hat Linux 8.0
                        Red Hat Linux 7.3
                        Red Hat Linux 7.2
                        Red Hat Linux 7.1
Impact:                 Execute Arbitrary Code/Commands
                        Denial of Service
                        Modify Permissions
Access Required:        Remote
CVE Names:              CAN-2002-1391, CAN-2002-1392

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

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

Synopsis:          Updated mgetty packages available
Advisory ID:       RHSA-2003:036-01
Issue date:        2003-04-08
Updated on:        2003-04-08
Product:           Red Hat Linux
Keywords:          mgetty spool permission
Cross references:  
Obsoletes:         RHSA-2001:050
CVE Names:         CAN-2002-1391 CAN-2002-1392
- ---------------------------------------------------------------------

1. Topic:

Updated mgetty packages are now available for Red Hat Linux 7.1,
7.2,  7.3, and 8.0.  These updates close a possible buffer overflow and a
permissions problem present in versions of mgetty prior to version 1.1.29.

2. Relevant releases/architectures:

Red Hat Linux 7.1 - i386
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386

3. Problem description:

mgetty is a getty replacement for use with data and fax modems.

mgetty can be configured to run an external program to decide whether or
not to answer an incoming call based on Caller ID information.  Unpatched
versions of mgetty prior to 1.1.29 would overflow an internal buffer if the
caller name reported by the modem was too long.

Additionally, the faxspool script supplied with versions of mgetty prior to
1.1.29 used a simple permissions scheme to allow or deny fax transmission
privileges.  This scheme was easily circumvented because the spooling
directory used for outgoing faxes was world-writable.

All users of mgetty should upgrade to these errata packages, which
contain mgetty 1.1.30 and are not vulnerable to 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 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.redhat.com/bugzilla for more info):

78543 - Mgetty 1.1.29 fixes security issue

6. RPMs required:

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/mgetty-1.1.30-0.7.src.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/mgetty-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/mgetty-sendfax-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/mgetty-voice-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/mgetty-viewfax-1.1.30-0.7.i386.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/mgetty-1.1.30-0.7.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/mgetty-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/mgetty-sendfax-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/mgetty-voice-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/mgetty-viewfax-1.1.30-0.7.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/mgetty-1.1.30-0.7.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/mgetty-sendfax-1.1.30-0.7.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/mgetty-voice-1.1.30-0.7.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/mgetty-viewfax-1.1.30-0.7.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/mgetty-1.1.30-0.7.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/mgetty-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/mgetty-sendfax-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/mgetty-voice-1.1.30-0.7.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/mgetty-viewfax-1.1.30-0.7.i386.rpm

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/mgetty-1.1.30-0.8.0.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/mgetty-1.1.30-0.8.0.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/mgetty-sendfax-1.1.30-0.8.0.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/mgetty-voice-1.1.30-0.8.0.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/mgetty-viewfax-1.1.30-0.8.0.i386.rpm



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
61f0f82bcb856400af7ed07d8f14e7c5 7.1/en/os/SRPMS/mgetty-1.1.30-0.7.src.rpm
0b9d994a33d2da4a8aa863f451932dae 7.1/en/os/i386/mgetty-1.1.30-0.7.i386.rpm
31c4d0bc42d5ec9576b8e1928d57564f 7.1/en/os/i386/mgetty-sendfax-1.1.30-0.7.i386.rpm
6435235949e4c553c8f3f116d86c9988 7.1/en/os/i386/mgetty-viewfax-1.1.30-0.7.i386.rpm
0a5d8b01d6ec299da69332d597c5b0f2 7.1/en/os/i386/mgetty-voice-1.1.30-0.7.i386.rpm
61f0f82bcb856400af7ed07d8f14e7c5 7.2/en/os/SRPMS/mgetty-1.1.30-0.7.src.rpm
0b9d994a33d2da4a8aa863f451932dae 7.2/en/os/i386/mgetty-1.1.30-0.7.i386.rpm
31c4d0bc42d5ec9576b8e1928d57564f 7.2/en/os/i386/mgetty-sendfax-1.1.30-0.7.i386.rpm
6435235949e4c553c8f3f116d86c9988 7.2/en/os/i386/mgetty-viewfax-1.1.30-0.7.i386.rpm
0a5d8b01d6ec299da69332d597c5b0f2 7.2/en/os/i386/mgetty-voice-1.1.30-0.7.i386.rpm
f26f33d9868f6212df1a86984661f202 7.2/en/os/ia64/mgetty-1.1.30-0.7.ia64.rpm
d8b0cea6d7b8b61493f80727078930d2 7.2/en/os/ia64/mgetty-sendfax-1.1.30-0.7.ia64.rpm
a16dc07d8740a8dd3ff37f90540dd96e 7.2/en/os/ia64/mgetty-viewfax-1.1.30-0.7.ia64.rpm
ebe71154e65a6f75b4150023413b09b8 7.2/en/os/ia64/mgetty-voice-1.1.30-0.7.ia64.rpm
61f0f82bcb856400af7ed07d8f14e7c5 7.3/en/os/SRPMS/mgetty-1.1.30-0.7.src.rpm
0b9d994a33d2da4a8aa863f451932dae 7.3/en/os/i386/mgetty-1.1.30-0.7.i386.rpm
31c4d0bc42d5ec9576b8e1928d57564f 7.3/en/os/i386/mgetty-sendfax-1.1.30-0.7.i386.rpm
6435235949e4c553c8f3f116d86c9988 7.3/en/os/i386/mgetty-viewfax-1.1.30-0.7.i386.rpm
0a5d8b01d6ec299da69332d597c5b0f2 7.3/en/os/i386/mgetty-voice-1.1.30-0.7.i386.rpm
55d0d8d95275d776e515e9206acd5ecf 8.0/en/os/SRPMS/mgetty-1.1.30-0.8.0.src.rpm
7a2efcddc4bc8a7ff014d3e5697aef3a 8.0/en/os/i386/mgetty-1.1.30-0.8.0.i386.rpm
d6efc4787ee443b942ef720ffceb8531 8.0/en/os/i386/mgetty-sendfax-1.1.30-0.8.0.i386.rpm
677a355141fcd582be34cd9f60639ce2 8.0/en/os/i386/mgetty-viewfax-1.1.30-0.8.0.i386.rpm
9c226ac2e4c2aeb84e0cd49dc3619cba 8.0/en/os/i386/mgetty-voice-1.1.30-0.8.0.i386.rpm


These packages are GPG signed by Red Hat for security.  Our key is
available at http://www.redhat.com/solutions/security/news/publickey/

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://search.alphanet.ch/cgi-bin/search.cgi?msgid=20021125142338.E12094%40greenie.muc.de&max_results=1&type=long&domain=ml-mgetty
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1391
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1392

9. Contact:

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

Copyright 2003 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 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 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: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPpQJPCh9+71yA2DNAQH+PgP/U2U4qlDzx+qOJJhttbyIDzks6eXZ2Ncu
jkvnC51UJdui5fFKjT2Uz8am1cdSFjQL6uyA1TbKNoCXu5WUPrmi210AyJ9Weu53
KqMpkMte7MM4BNdm7nB+ndBgQ0A0ANHuFeaqKi7RyOYZWHKxlrfc68TGpQjrp4Zx
iv7KwVgU1Oc=
=LBGc
-----END PGP SIGNATURE-----