Skip to main content

CVE-1999-1187: Pine before version 3.94 allows local users to gain privileges via a symlink attack on a lockfile th

Medium
VulnerabilityCVE-1999-1187cve-1999-1187
Published: Mon Aug 26 1996 (08/26/1996, 04:00:00 UTC)
Source: NVD
Vendor/Project: university_of_washington
Product: pine

Description

Pine before version 3.94 allows local users to gain privileges via a symlink attack on a lockfile that is created when a user receives new mail.

AI-Powered Analysis

AILast updated: 07/02/2025, 00:43:04 UTC

Technical Analysis

CVE-1999-1187 is a local privilege escalation vulnerability affecting Pine, a text-based email client developed by the University of Washington, specifically versions prior to 3.94 (including 2.1.0 and 3.0). The vulnerability arises from the way Pine handles lockfiles when a user receives new mail. Pine creates a lockfile to prevent concurrent access issues; however, it does not securely handle the creation of this lockfile. An attacker with local access can exploit this by creating a symbolic link (symlink) pointing the lockfile to an arbitrary file. When Pine writes to the lockfile, it inadvertently overwrites or modifies the target file of the symlink with elevated privileges. This can lead to unauthorized modification of critical system files or user data, effectively allowing the attacker to gain higher privileges on the system. The vulnerability requires local access, does not require user interaction beyond the attacker’s own actions, and has a CVSS v2 base score of 4.6, indicating medium severity. No patch is available for this vulnerability, and there are no known exploits in the wild documented. Given the age of the vulnerability (published in 1996) and the obsolescence of Pine in modern environments, active exploitation is unlikely but remains a risk in legacy systems still running vulnerable versions.

Potential Impact

For European organizations, the impact of this vulnerability primarily concerns legacy systems still running outdated versions of Pine, particularly in environments where local user accounts are shared or less strictly controlled, such as academic institutions or older government and enterprise systems. Exploitation could allow a local attacker to escalate privileges, potentially leading to unauthorized access to sensitive information, modification of system files, or disruption of mail services. This could compromise confidentiality, integrity, and availability of affected systems. Although modern systems rarely use Pine, organizations with legacy Unix/Linux mail clients may still be exposed. The risk is compounded in environments with lax local user account management or where attackers can gain initial local access through other means. The vulnerability does not pose a direct remote threat but can be leveraged as part of a multi-stage attack.

Mitigation Recommendations

Given that no official patch is available for this vulnerability, European organizations should prioritize the following mitigations: 1) Upgrade or replace Pine with a modern, actively maintained email client that does not have this vulnerability. 2) Restrict local user access strictly, ensuring that only trusted users have accounts on systems running Pine. 3) Implement strict file system permissions and mount options (e.g., noexec, nosymfollow where possible) to limit the ability to create or follow symlinks in directories where Pine creates lockfiles. 4) Monitor and audit file system changes and lockfile creation directories for suspicious symlink activity. 5) Employ host-based intrusion detection systems (HIDS) to detect unusual privilege escalation attempts. 6) For legacy systems that cannot be upgraded immediately, consider isolating them from critical networks and sensitive data to minimize impact.

Need more detailed analysis?Get Pro

Threat ID: 682ca32ab6fd31d6ed7de514

Added to database: 5/20/2025, 3:43:38 PM

Last enriched: 7/2/2025, 12:43:04 AM

Last updated: 8/11/2025, 2:48:02 PM

Views: 11

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats