SunOS LC_MESSAGES Environment Variable Vulnerability
Privacy and Legal Notice
INFORMATION BULLETIN
J-069: SunOS LC_MESSAGES Environment Variable Vulnerability
September 28, 1999 17:00 GMT
PROBLEM: A buffer overflow vulnerability has been identified in the
LC_MESSAGES Environment variable.
PLATFORM: SunOS 5.7, 5.7_x86, 5.6, 5.6_x86.
DAMAGE: A buffer overflow may be exploited to gain root access.
SOLUTION: Apply the available patches.
VULNERABILITY The risk is HIGH. Buffer overflow attacks are common and easy
ASSESSMENT: to execute. We are currently seeing numerous attacks on the
rpc.*** binaries (rpc.cmsd, rpc.ttdb) which depend on this
variable.
[ Start Sun Microsystems Advisory ]
______________________________________________________________________________
Sun Microsystems, Inc. Security Bulletin
Bulletin Number: #00189
Date: September 8, 1999
Cross-Ref:
Title: LC_MESSAGES
______________________________________________________________________________
The information contained in this Security Bulletin is provided "AS IS." Sun
makes no warranties of any kind whatsoever with respect to the information
contained in this Security Bulletin. ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY WARRANTY OF NON-INFRINGEMENT OR
IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ARE
HEREBY DISCLAIMED AND EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW. IN NO
EVENT WILL SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
DATA, OR FOR DIRECT, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
DAMAGES HOWEVER CAUSED AND REGARDLESS OF ANY THEORY OF LIABILITY ARISING OUT
OF THE USE OF OR INABILITY TO USE THE INFORMATION CONTAINED IN THIS SECURITY
BULLETIN, EVEN IF SUN MICROSYSTEMS, INC. HAS BEEN ADVISED OF THE POSSIBILITY
OF SUCH DAMAGES. If any of the above provisions are held to be in violation of
applicable law, void, or unenforceable in any jurisdiction, then such
provisions are waived to the extent necessary for this disclaimer to be
otherwise enforceable in such jurisdiction.
______________________________________________________________________________
1. Bulletin Topics
Sun announces the release of patches for Solaris(tm) 7 and 2.6 (SunOS(tm)
5.7 and 5.6) which relate to a buffer overflow vulnerability involving the
LC_MESSAGES environment variable.
Sun recommends that you install the patches listed in section 4
immediately on systems running SunOS 5.7 and 5.6.
2. Who is Affected
Vulnerable: SunOS 5.7, 5.7_x86, 5.6, 5.6_x86.
Not vulnerable: All other supported versions of SunOS.
3. Understanding the Vulnerability
In libc, the LC_MESSAGES environment variable affects the behavior of
messaging functions. A vulnerability exists where a buffer overflow could
be exploited to gain root access. The patches listed in this bulletin
address both libc and the ufsrestore and rcp binaries which are statically
linked against libc.
4. List of Patches
The following patches are available in relation to the above problem.
SunOS version Patch ID
_____________ _________
5.7 106541-07
5.7 ufsrestore 106793-03
5.7 rcp 107972-01
5.7_x86 106542-07
5.7_x86 ufsrestore 106794-03
5.7_x86 rcp 107973-01
5.6 105210-24
5.6 ufsrestore 105722-03
5.6 rcp 107991-01
5.6_x86 105211-22
5.6_x86 ufsrestore 105723-03
5.6_x86 rcp 107992-01
___________________________________________________________________________
APPENDICES
A. Patches listed in this bulletin are available to all Sun customers at:
http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-
license&nav=pub-patches
B. Checksums for the patches listed in this bulletin are available at:
ftp://sunsolve.sun.com/pub/patches/CHECKSUMS
C. Sun security bulletins are available at:
http://sunsolve.sun.com/pub-cgi/secBulletin.pl
D. Sun Security Coordination Team's PGP key is available at:
http://sunsolve.sun.com/pgpkey.txt
E. To report or inquire about a security problem with Sun software, contact
one or more of the following:
- Your local Sun Solution Center
- Your representative computer security response team, such as CERT
- Sun Security Coordination Team. Send email to:
security-alert@sun.com
F. To receive information or subscribe to our CWS (Customer Warning System)
mailing list, send email to:
security-alert@sun.com
with a subject line (not body) containing one of the following commands:
Command Information Returned/Action Taken
_______ _________________________________
help An explanation of how to get information
key Sun Security Coordination Team's PGP key
list A list of current security topics
query [topic] The email is treated as an inquiry and is forwarded to
the Security Coordination Team
report [topic] The email is treated as a security report and is
forwarded to the Security Coordination Team. Please
encrypt sensitive mail using Sun Security Coordination
Team's PGP key
send topic A short status summary or bulletin. For example, to
retrieve a Security Bulletin #00138, supply the
following in the subject line (not body):
send #138
subscribe Sender is added to our mailing list. To subscribe,
supply the following in the subject line (not body):
subscribe cws your-email-address
Note that your-email-address should be substituted
by your email address.
unsubscribe Sender is removed from the CWS mailing list.
___________________________________________________________________________
Copyright 1999 Sun Microsystems, Inc. All rights reserved. Sun, Sun
Microsystems, Solaris and SunOS are trademarks or registered trademarks of
Sun Microsystems, Inc. in the United States and other countries. This
Security Bulletin may be reproduced and distributed, provided that this
Security Bulletin is not modified in any way and is attributed to Sun
Microsystems, Inc. and provided that such reproduction and distribution is
performed for non-commercial purposes.
[ End Sun Microsystems Advisory ]
CIAC wishes to acknowledge the contributions of Sun Microsystems for the
information contained in this bulletin.
CIAC services are available to DOE, DOE Contractors, and the NIH. CIAC
can be contacted at:
Voice: +1 925-422-8193 (7 x 24)
FAX: +1 925-423-8002
STU-III: +1 925-423-2604
E-mail: ciac@ciac.org
World Wide Web: http://www.ciac.org/
Anonymous FTP: ftp.ciac.org
This document was prepared as an account of work sponsored by an
agency of the United States Government. Neither the United States
Government nor the University of California nor any of their
employees, makes any warranty, express or implied, or assumes any
legal liability or responsibility for the accuracy, completeness, or
usefulness of any information, apparatus, product, or process
disclosed, or represents that its use would not infringe privately
owned rights. Reference herein to any specific commercial products,
process, or service by trade name, trademark, manufacturer, or
otherwise, does not necessarily constitute or imply its endorsement,
recommendation or favoring by the United States Government or the
University of California. The views and opinions of authors expressed
herein do not necessarily state or reflect those of the United States
Government or the University of California, and shall not be used for
advertising or product endorsement purposes.
UCRL-MI-119788
[Privacy and Legal Notice]