CVE-1999-1026

HIGH7.2/ 10.0
Share:
Published: December 20, 1996 at 05:00 AM
Modified: April 3, 2025 at 01:03 AM
Source: cve@mitre.org

Vulnerability Description

aspppd on Solaris 2.5 x86 allows local users to modify arbitrary files and gain root privileges via a symlink attack on the /tmp/.asppp.fifo file.

CVSS Metrics

Base Score
7.2
Severity
HIGH
Vector String
AV:L/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

Solaris 2.5 x86 systems are vulnerable to a critical local privilege escalation via a symlink attack against the aspppd daemon. This vulnerability allows attackers to overwrite arbitrary files, potentially leading to root access and complete system compromise. The age of the vulnerability and the potential for legacy systems to still be in use make this a significant risk if unpatched.

02 // Vulnerability Mechanism

Step 1: Symlink Creation: The attacker creates a symbolic link named /tmp/.asppp.fifo that points to a sensitive system file, such as /etc/shadow or /etc/passwd.

Step 2: Triggering aspppd: The attacker triggers the aspppd daemon, typically by initiating a PPP connection or through other means that cause it to create and interact with the FIFO.

Step 3: Race Condition: The aspppd daemon attempts to write data to /tmp/.asppp.fifo.

Step 4: File Overwrite: Because the symlink is in place, the data intended for the FIFO is instead written to the target file (e.g., /etc/shadow), allowing the attacker to overwrite the file and potentially gain root access by adding a user with a known password or modifying existing user credentials.

03 // Deep Technical Analysis

The vulnerability stems from a race condition in how aspppd handles the /tmp/.asppp.fifo file. The daemon, running with elevated privileges, creates this FIFO (named pipe) in /tmp. An attacker can exploit this by creating a symbolic link pointing to a critical system file (e.g., /etc/shadow) before aspppd attempts to interact with the FIFO. The daemon, unaware of the symlink, will then write data intended for the FIFO to the target file, allowing the attacker to overwrite it. This is a classic example of a TOCTOU (Time-of-Check to Time-of-Use) vulnerability. The root cause is the lack of proper input validation and secure file handling practices, specifically the failure to check if the file is a symlink before writing to it.

CVE-1999-1026 - HIGH Severity (7.2) | Free CVE Database | 4nuxd