TUCoPS :: BSD :: ciaci063.txt

Rsi BSDi Rlogind Vulnerability



                       The U.S. Department of Energy
                    Computer Incident Advisory Capability
                           ___  __ __    _     ___
                          /       |     /_\   /
                          \___  __|__  /   \  \___

                             INFORMATION BULLETIN

                         RSI BSDI rlogind Vulnerability

June 19, 1998 20:00 GMT                                           Number I-063
PROBLEM:       A vulnerability exists using rlogind in all current versions of
               Berkeley Software Design Inc. (BSDI).
PLATFORM:      Any server running BSDI with rlogind enabled.
DAMAGE:        Can create a buffer overflow which may allow an attacker to
               gain root access.
SOLUTION:      Disable rlogind until patches are available.
VULNERABILITY  Disable rlogind on affected systems as soon as possible. Apply
ASSESSMENT:    the patches as soon as they are made available.

[ Start Repent Security Inc. Advisory ]


           |:::.  |::::: |::::.        |::::: |::::: |::::.
           ..  :: ..     ..  ::        ..     ..     ..  ::
           |::::  |::::  |::::  :::::: |::::: |::::  |:
           |:  :: |:     |:               |:: |:     |:  ::
           |:  :: |::::: |:            |::::: |::::: |:::::

                   Repent Security Incorporated, RSI
                       [ http://www.repsec.com ]

                       *** RSI ALERT ADVISORY ***

- --- [CREDIT] --------------------------------------------------------------

Mark Zielinski: Research and development, author of advisory.

- --- [SUMMARY] -------------------------------------------------------------

Announced:     June 17, 1998
Report code:   RSI.0004a.06-17-98.BSDI.RLOGIND
Report title:  BSDI rlogind
Vulnerability: A buffer overflow exists in rlogind that could allow remote
               root access on servers running BSDI 2.1 or earlier
Vendor status: Has been contacted on 6-17-98
Patch status:  No vendor patch currently available
Platforms:     BSDI 2.0, 2.1
Not affected:  BSDI 3.0, 3.1
               FreeBSD-Current (2.2.6)
               NetBSD-Current (1.3)
               OpenBSD 2.1, 2.2, 2.3
Reference:     http://www.repsec.com/advisories.html
Impact:        If exploited, an attacker could potentially compromise
               root access on your server

- --- [DETAILS] -------------------------------------------------------------

Problem:       A vulnerability exists in BSDI rlogind that has the
               potential to allow an attacker to gain remote root
               access on any server running BSDI 2.1 or earlier with
               rlogind enabled.

               This vulnerability occurs as a result of inverse
               resolution of IP addresses to hostnames.  An attacker
               in control of a DNS server can configure the records for
               a specific IP address to resolve with a name larger than
               rlogind can handle.

               Due to insufficient bounds checking, a buffer
               overflow can result when rlogind attempts to copy the
               connecting hostname into a buffer with a predefined size.

               While overwriting the buffer, the attacker can manipulate
               the stack and execute their own commands, possibly gaining
               root access on the server.

               For more information on this type of attack, point your
               web browsers to: http://www.repsec.com/bofs.html.

- --- [FIX] -----------------------------------------------------------------

Solution:      Disable rlogind until Berkeley Software Design Inc.
               can provide a patch.

               To disable rlogind:

               1. su to the root account
               2. kill -9 `ps -aux | grep rlogind | awk '{print $2}'`
               3. edit /etc/inetd.conf with your favorite editor
               4. place a # in front of any lines beginning with "login"

- --- [PATCH] ---------------------------------------------------------------

Solution:      Wait for Berkeley Software Design Inc. to release an
               official patch or upgrade to 3.0 or higher.

- ---------------------------------------------------------------------------

Repent Security Incorporated (RSI)
13610 N. Scottsdale Rd.
Suite #10-326
Scottsdale, AZ 85254

E-mail: advise@repsec.com
WWW: http://www.repsec.com
FTP: ftp://ftp.repsec.com

[ End Repent Security Inc. Advisory ]

CIAC wishes to acknowledge the contributions of Repent Security Inc. for the
information contained in this bulletin.

CIAC, the Computer Incident Advisory Capability, is the computer
security incident response team for the U.S. Department of Energy
(DOE) and the emergency backup response team for the National
Institutes of Health (NIH). CIAC is located at the Lawrence Livermore
National Laboratory in Livermore, California. CIAC is also a founding
member of FIRST, the Forum of Incident Response and Security Teams, a
global organization established to foster cooperation and coordination
among computer security teams worldwide.

CIAC services are available to DOE, DOE contractors, and the NIH. CIAC
can be contacted at:
    Voice:    +1 925-422-8193
    FAX:      +1 925-423-8002
    STU-III:  +1 925-423-2604
    E-mail:   ciac@llnl.gov

For emergencies and off-hour assistance, DOE, DOE contractor sites,
and the NIH may contact CIAC 24-hours a day. During off hours (5PM -
8AM PST), call the CIAC voice number 925-422-8193 and leave a message,
or call 800-759-7243 (800-SKY-PAGE) to send a Sky Page. CIAC has two
Sky Page PIN numbers, the primary PIN number, 8550070, is for the CIAC
duty person, and the secondary PIN number, 8550074 is for the CIAC
Project Leader.

Previous CIAC notices, anti-virus software, and other information are
available from the CIAC Computer Security Archive.

   World Wide Web:      http://www.ciac.org/
                        (or http://ciac.llnl.gov -- they're the same machine)
   Anonymous FTP:       ftp.ciac.org
                        (or ciac.llnl.gov -- they're the same machine)
   Modem access:        +1 (925) 423-4753 (28.8K baud)
                        +1 (925) 423-3331 (28.8K baud)

CIAC has several self-subscribing mailing lists for electronic
1. CIAC-BULLETIN for Advisories, highest priority - time critical
   information and Bulletins, important computer security information;
2. SPI-ANNOUNCE for official news about Security Profile Inspector
   (SPI) software updates, new features, distribution and
3. SPI-NOTES, for discussion of problems and solutions regarding the
   use of SPI products.

Our mailing lists are managed by a public domain software package
called Majordomo, which ignores E-mail header subject lines. To
subscribe (add yourself) to one of our mailing lists, send the
following request as the E-mail message body, substituting
ciac-bulletin, spi-announce OR spi-notes for list-name:

E-mail to       ciac-listproc@llnl.gov or majordomo@tholia.llnl.gov:
        subscribe list-name
  e.g., subscribe ciac-bulletin

You will receive an acknowledgment email immediately with a confirmation
that you will need to mail back to the addresses above, as per the
instructions in the email.  This is a partial protection to make sure
you are really the one who asked to be signed up for the list in question.

If you include the word 'help' in the body of an email to the above address,
it will also send back an information file on how to subscribe/unsubscribe,
get past issues of CIAC bulletins via email, etc.

PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing
communities receive CIAC bulletins.  If you are not part of these
communities, please contact your agency's response team to report
incidents. Your agency's team will coordinate with CIAC. The Forum of
Incident Response and Security Teams (FIRST) is a world-wide
organization. A list of FIRST member organizations and their
constituencies can be obtained via WWW at http://www.first.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.

LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC)

I-054: Cisco Web Cache Control Protocol Router Vulnerability
I-055: SGI IRIX Vulnerabilities (NetWare Client, diskperf/diskalign
I-056: Cisco PIX Private Link Key Processing and Cryptography Vulnerabilities
I-057: FreeBSD NFS Kernel Code Error
I-058: SunOS rpc.nisd Vulnerability
I-059: SUN ftpd Vulnerability
I-060: SGI IRIX OSF/DCE Denial of Service Vulnerability
I-061: SGI IRIX  mediad(1M) Vulnerability
I-062: SGI IRIX BIND DNS named(1M) Vulnerability
I-063: RSI BSDI rlogind Vulnerability

Version: 4.0 Business Edition


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH