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

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

                 ESB-2002.410 -- OpenBSD Security Advisory
                         Select Boundary Condition
                              12 August 2002

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

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

Product:                OpenBSD
Vendor:                 OpenBSD
Operating System:       OpenBSD
Impact:                 Root Compromise
Access Required:        Existing Account

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

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

OpenBSD Security Advisory (adv.select)
Original Release Date: 2002-08-11

1. Systems affected:

        All versions of OpenBSD.

2. Overview:

	Insufficient boundary checks in the select call allow an
	attacker to overwrite kernel memory and execute arbitrary code
	in kernel context.

	Traditionally, the size parameter for the select system call
	is a signed integer.  As a result, the kernel evaluates the
	upper boundary checks in a signed context, so that an attacker
	can circumvent when using certain negative values.

	When the kernel copies the data for the select system call
	from userland the size is used as an unsigned integer which
	causes kernel memory to be overwritten with arbitrary data.

2. Impact:

        Local users can obtain complete system privileges and
        circumvent the extra security measures provided by the
        securelevel system.

3. Solution:

        Apply one of the supplied kernel patches or update to
        3.0-stable or 3.1-stable from 2002-08-11 17:00 EDT or later.

4. Patch:

	ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.1/common/014_scarg.patch

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iQEVAwUBPVbSKDZ8FqYKL4flAQGGTAgAoRmp24ZjsC3opJvaHe5I2T3smBIxwfCQ
jfuQQmxKstnOf9mgvEunkdoMDuuksNlWX13skLoTm0c0mvjFTp2ctRdUH/o0rHdj
Ya8nFmkTaG98hOv73AcKN+7xG1j6I0v6tvifZqOoIUGTed76CYfSIH7Xtblmy0fl
1vgMsuKVXUQu+Db3+zBw1XY6ke6YtK1cgVaJjbfjdpiS9yOHCun4fvGvIkWdqGmH
QFT928uzAKLnz1kieynTGLVMOHgt064mV6MjDrYpqu4hUo9UVREaVOrHb6aEOpi+
VeicbnT+OWn7EdGsKiS14YajXj/UuE5bdz2gCV/QU4zGiwnLXfBfMQ==
=MHDm
- -----END PGP SIGNATURE-----

- --------------------------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

iQCVAwUBPVfl+Sh9+71yA2DNAQEASQP/bwJXoDwAXJ2qk1002B9BqyQOfspTc94D
IZLg1kHpqcnyA5HCEWH7DqLvJ8gWlzo71sKfmhiNehPsm+K/aY8ZJvjBh3M4CHyH
jJRJfIoAiYYu0CBH3ZlrIMUzpgpFSpE33DBhMN++sr5lelJRZJZ8QcSjqc5GkFdB
u6bl7QsVh3Y=
=dZCw
-----END PGP SIGNATURE-----