rlogin -froot Remote Root Access

high Nessus Plugin ID 10161
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

It is possible to connect to this host as 'root' without a password.

Description

The remote /bin/login seems to be affected by a 'forced root login' vulnerability. By attempting to connet via rlogin and forcing it to use the root account (rlogin -froot), any attacker may use this flaw to gain remote root access on this system.

Solution

Upgrade your /bin/login, or comment out the 'rlogin' line in /etc/inetd.conf and restart the inetd process

Plugin Details

Severity: High

ID: 10161

File Name: rlogin_froot.nasl

Version: 1.19

Type: remote

Published: 8/26/2002

Updated: 7/27/2018

Dependencies: find_service1.nasl, rlogin.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: E:POC/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 5/21/1994

Reference Information

CVE: CVE-1999-0113

BID: 458