The Netscape Portable Runtime (NSPR) API 4.6.1 and 4.6.2, as used in Sun Solaris 10, trusts user-specified environment variables for specifying log files even when running from setuid programs, which allows local users to create or overwrite arbitrary files.
Published 2006-10-12 00:07:00
Updated 2018-10-17 21:39:53
Source MITRE
View at NVD,   CVE.org
Vulnerability category: Input validation

Products affected by CVE-2006-4842

Exploit prediction scoring system (EPSS) score for CVE-2006-4842

0.39%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 74 %
Percentile, the proportion of vulnerabilities that are scored at or less

Metasploit modules for CVE-2006-4842

  • Solaris libnspr NSPR_LOG_FILE Privilege Escalation
    Disclosure Date: 2006-10-11
    First seen: 2020-04-26
    exploit/solaris/local/libnspr_nspr_log_file_priv_esc
    This module exploits an arbitrary file write vulnerability in the Netscape Portable Runtime library (libnspr) on unpatched Solaris systems prior to Solaris 10u3 which allows users to gain root privileges. libnspr versions prior to 4.6.3 allow users to specify a log

CVSS scores for CVE-2006-4842

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
3.6
LOW AV:L/AC:L/Au:N/C:N/I:P/A:P
3.9
4.9
NIST

CWE ids for CVE-2006-4842

  • The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
    Assigned by: nvd@nist.gov (Primary)

Vendor statements for CVE-2006-4842

  • Red Hat 2007-01-11
    This issue also affects other OS that use NSPR. However, Red Hat does not ship any application linked setuid or setgid against NSPR and therefore is not vulnerable to this issue.
Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!