1007 : Multiple Unix Vendor rlogin -froot Remote Authentication Bypass
Printer | http://osvdb.org/1007 | Email This | Edit Vulnerability

Views This Week

22

Views All Time

1012

Info

Last Modified

6 months ago

Percent Complete

100%

Disclosure

May 21, 1994

Discovery

Jan 01, 1994

Dates

Exploit

May 21, 1994

Solution

Unknown

Description

The rlogin command of multiple Unix vendor contains a flaw that may allow a remote attacker to bypass authentication settings. The issue is triggered when using the '-froot' parameter, which allows a remote attacker to gain root access on a system without being prompted for a password resulting in a loss of integrity.

Classification

Location: Local / Remote
Attack Type: Input Manipulation
Impact: Loss of Integrity
Solution: Patch
Exploit: Exploit Available
Disclosure: OSVDB Verified, Discovered in the Wild

Technical

The flaw is a result of the way login parses its arguments as passed by rlogind. The problem is that login parses the command line option -fUSER as -f USER when using the getopt() function with the 'f:' opt string. An unauthenticated user can gain root access through rlogin by simply specifying '-froot' as a remote loginname which will be interpreted by rlogin as '-f root'.

Solution

Contact your vendor for an appropriate patch. It is also possible to correct the flaw by implementing the following workaround: comment out the 'rlogin' line in /etc/inetd.conf and restart the inetd process.

Products

International Business Machines Corporation
Watch-list
AIX
Watch-list
3.1.x
3.2.x
Unknown Distribution
Watch-list
Linux
Watch-list
Unknown or Unspecified
Silicon Graphics, Inc.
Watch-list
IRIX
Watch-list
Unknown or Unspecified

References

Tools & Filters

Nessus

10161

Manual Testing Notes

Credit

  • Pug - pugBrand New Doo Dooarlut.utexas.edu -

Blogs

None found at this time

Comments

Anonymous - 2008/01/21 15:22:34

This was reported on a very limited Linux Kernel 0.9x distribution and actively exploited at the time. However, no one seems to have documented the exact version or release (Slackware maybe?).


DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use