Netscape Portable Runtime API Environment Variable Lets Local Users Create Arbitrary Files
SecurityTracker Alert ID: 1017050|
SecurityTracker URL: http://securitytracker.com/id/1017050
(Links to External Site)
Date: Oct 12 2006
Modification of system information, Modification of user information, Root access via local system|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): 4.6.1, 4.6.2; possibly others|
iDEFENSE reported a vulnerability in the Netscape Portable Runtime (NSPR) API. A local user can gain elevated privileges on the target system.|
On UNIX- and Linux-based systems, the software does not properly validate user-supplied environment variables. A local user can supply a specially crafted value to cause the system to create log files. A local user can create or overwrite arbitrary files on the system with root privileges.
A local user can gain elevated privileges on the target system.|
No solution was available at the time of this entry.|
[Editor's note: The latest version is 4.6.3. The release notes for version 4.6.3 do not mention this vulnerability.]
Vendor URL: www.mozilla.org/projects/nspr/ (Links to External Site)
Input validation error|
|Underlying OS: Linux (Any), UNIX (Any)|
This archive entry has one or more follow-up message(s) listed below.|
Source Message Contents
Subject: iDefense Security Advisory 10.11.06: Sun Microsystems Solaris NSPR|
Sun Microsystems Solaris NSPR Library Arbitrary File Creation Vulnerability
iDefense Security Advisory 10.11.06
Oct 11, 2006
The Netscape Portable Runtime (NSPR) API allows compliant applications
to use system facilities such as threads, thread synchronization, I/O,
interval timing, atomic operations and several other low-level services
in a platform-independent manner. More information can be found on
Mozilla's website at http://www.mozilla.org/projects/nspr/.
Local exploitation of a design error vulnerability in version 4.6.1 of
NSPR, as included with Sun Microsystems Solaris 10, allows attackers to
create or overwrite arbitrary files on the system.
The problem exists because environment variables are used to create log
files. Even when the program is setuid, users can specify a log file
that will be created with elevated privileges.
Exploitation allows local attackers to elevate privileges to root.
iDefense confirmed that Solaris 10 with NSPR version 4.6.1 is vulnerable
to privilege escalation. Additionally, iDefense has also confirmed via
the source code that version 4.6.2 does not address the vulnerability.
iDefense is currently unaware of any effective workaround for this
VI. VENDOR RESPONSE
Sun Microsystems has addressed this issue with Sun Security Alert 102658
which can be found at:
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2006-4842 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
VIII. DISCLOSURE TIMELINE
08/31/2006 Initial vendor notification
09/04/2006 Initial vendor response
10/11/2006 Coordinated public disclosure
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email email@example.com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
To unsubscribe, go here: