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

Views This Week

18

Views All Time

2743

Info

Last Modified

about 1 year ago

Percent Complete

100%

Disclosure

May 21, 1994

Discovery

Jan 01, 1994

Dates

Exploit

May 21, 1994

Solution

Unknown

Keywords

FROOT, APAR IX44254, fruit

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 / RCS
Exploit: Exploit Public
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

10161

Manual Testing Notes

Credit

  • Pug - pugarlut.utexas.edu -

CVSSv2 Score

CVSSv2 Base Score = 10.0
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_2 Access_complexity_2 Authentication_2 Confidentiality_impact_2 Integrity_impact_2 Availability_impact_2

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

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?).


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 2010 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use