CVE-1999-0208

HIGH10.0/ 10.0
Share:
Published: December 12, 1995 at 05:00 AM
Modified: April 3, 2025 at 01:03 AM
Source: cve@mitre.org

Vulnerability Description

rpc.ypupdated (NIS) allows remote users to execute arbitrary commands.

CVSS Metrics

Base Score
10.0
Severity
HIGH
Vector String
AV:N/AC:L/Au:N/C:C/I:C/A:C

Weaknesses (CWE)

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

AI Security Analysis

01 // Technical Summary

rpc.ypupdated, a component of the Network Information Service (NIS), suffers from a critical vulnerability allowing unauthenticated remote command execution. Successful exploitation grants attackers complete control over the compromised system, enabling data theft, system compromise, and lateral movement within the network. This vulnerability is particularly dangerous due to its age and the potential for legacy systems to remain vulnerable.

02 // Vulnerability Mechanism

Step 1: Target Identification: The attacker identifies systems running the vulnerable rpc.ypupdated service, typically by port scanning (port 111 for RPC, and potentially other ports for NIS-related services).

Step 2: Payload Crafting: The attacker crafts a malicious RPC request. This request is specifically designed to exploit the vulnerability in rpc.ypupdated. The request includes a command to be executed on the target system.

Step 3: Request Delivery: The attacker sends the crafted RPC request to the target system's rpc.ypupdated service.

Step 4: Command Execution: The rpc.ypupdated service, lacking proper input validation, processes the malicious request. The embedded command is executed with the privileges of the rpc.ypupdated service, often root.

Step 5: System Compromise: The executed command allows the attacker to gain control of the system. This can include creating backdoors, installing malware, stealing data, and escalating privileges.

03 // Deep Technical Analysis

The vulnerability lies within the rpc.ypupdated service, specifically in its handling of updates to the NIS database. The service, designed to update NIS maps, lacks proper input validation and authorization checks. Attackers can craft malicious RPC requests containing arbitrary commands. When the service processes these requests, it executes the supplied commands with elevated privileges, typically root, leading to complete system compromise. The root cause is a failure to sanitize user-supplied input before passing it to a system call, resulting in command injection.

CVE-1999-0208 - HIGH Severity (10) | Free CVE Database | 4nuxd