CVE-2006-4842

Summary

CVECVE-2006-4842
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2006-10-12 00:07:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 3.6 from [email protected]

AV:L/AC:L/Au:N/C:N/I:P/A:P

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
Partial

AV:L/AC:L/Au:N/C:N/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Netscape Portable Runtime Api 4.6.1 All All All
Application Netscape Portable Runtime Api 4.6.2 All All All
Operating System Sun Solaris 10.0 All sparc All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
#102658: Security Vulnerability in the Netscape Portable Runtime (NSPR) API Affects Solaris af854a3a-2127-422b-91ae-364da2661108 sunsolve.sun.com
Sun Solaris Netscape Portable Runtime API Local Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
Public Advisory: 10.11.06 // iDefense Labs af854a3a-2127-422b-91ae-364da2661108 labs.idefense.com Vendor Advisory
Solaris - libnspr NSPR_LOG_FILE Privilege Escalation (Metasploit) - Solaris local Exploit af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Solaris Netscape Portable Runtime Privilege Escalation - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Netscape Portable Runtime API Environment Variable Lets Local Users Create Arbitrary Files - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 securitytracker.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-01-11Mark J CoxThis 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.
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report