CVE-1999-0627

LOW/ 10.0
Share:
Published: March 1, 1992 at 05:00 AM
Modified: April 3, 2025 at 01:03 AM
Source: cve@mitre.org

Vulnerability Description

The rexd service is running, which uses weak authentication that can allow an attacker to execute commands.

CVSS Metrics

Base Score
0.0
Severity
LOW
Vector String
AV:N/AC:L/Au:N/C:N/I:N/A:N

Weaknesses (CWE)

NVD-CWE-Other
Source: nvd@nist.gov

AI Security Analysis

01 // Technical Summary

The rexd service, a legacy remote execution daemon, suffers from a critical vulnerability due to its use of weak authentication, enabling unauthorized command execution. Successful exploitation allows attackers to remotely execute commands on vulnerable systems, potentially leading to complete system compromise and data exfiltration. This vulnerability poses a significant risk to systems where rexd is enabled.

02 // Vulnerability Mechanism

Step 1: Reconnaissance: The attacker identifies systems running the rexd service, typically by port scanning (port 512, 513, 514). Step 2: Trust Relationship Assessment: The attacker determines if the target system trusts the attacker's system or if the attacker can spoof a trusted IP address. This may involve examining .rhosts or /etc/hosts.equiv files. Step 3: Authentication Bypass: The attacker exploits the weak authentication by either spoofing their IP address to match a trusted host or by leveraging compromised credentials if available. Step 4: Command Injection: The attacker crafts a command to be executed on the target system. This command is sent to the rexd service. Step 5: Command Execution: The rexd service, trusting the source, executes the attacker's command with the privileges of the user running rexd (often root). Step 6: Post-Exploitation: The attacker can then perform actions such as installing backdoors, exfiltrating data, or further compromising the system.

03 // Deep Technical Analysis

The root cause of CVE-1999-0627 lies in the fundamental design of the rexd service. It relies on a trust-based authentication mechanism, typically using the .rhosts or /etc/hosts.equiv files. This mechanism inherently trusts hosts and users listed in these files, without requiring strong authentication. The service accepts commands from trusted hosts and executes them with the privileges of the user running rexd. The lack of proper authentication and authorization allows an attacker to spoof their source IP address or leverage compromised credentials to gain unauthorized access and execute arbitrary commands. The vulnerability is not a specific code flaw like a buffer overflow or race condition, but rather a design flaw in the authentication model.

CVE-1999-0627 - LOW Severity (0) | Free CVE Database | 4nuxd