CVE-2006-4842
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…
- 3.6LowCVSS base score
- 7.7%Exploitation in 30 daysEPSS · top 5.3% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 7Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 6 Exploit-DB entries for it. A reference of the record is tagged as an exploit.
Show the exploits8
Metasploit modules1 module
- Solaris libnspr NSPR_LOG_FILE Privilege Escalation (Metasploit module) (opens in a new tab)
exploit/solaris/local/libnspr_nspr_log_file_priv_escRank excellentdisclosed 11 Oct 2006
Exploit-DB6 entries
- Solaris - libnspr NSPR_LOG_FILE Privilege Escalation (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 45433local, solarispublished 18 Sept 2018Verified
- Solaris 10 libnspr - 'Constructor' Arbitrary File Creation Privilege Escalation (3) (Exploit-DB entry) (opens in a new tab)
EDB-ID 2641local, solarispublished 24 Oct 2006Verified
- Sun Solaris Netscape Portable Runtime API 4.6.1 - Local Privilege Escalation (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 28789local, solarispublished 24 Oct 2006Verified
- Solaris 10 libnspr - 'LD_PRELOAD' Arbitrary File Creation Privilege Escalation (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 2569local, solarispublished 16 Oct 2006Verified
- Solaris 10 libnspr - 'LD_PRELOAD' Arbitrary File Creation Privilege Escalation (1) (Exploit-DB entry) (opens in a new tab)
EDB-ID 2543local, solarispublished 13 Oct 2006Verified
- Sun Solaris Netscape Portable Runtime API 4.6.1 - Local Privilege Escalation (1) (Exploit-DB entry) (opens in a new tab)
EDB-ID 28788local, solarispublished 13 Oct 2006Verified
References tagged exploit1 reference
- 45433 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 27 days later
· 27 days later
Published
- 18 years later
· 18 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Low3.6 | AV:L/AC:L/Au:N/C:N/I:P/A:P |
- EPSS (exploitation in 30 days)
- 7.7% · top 5.3% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.6.
Affected products
n/a
- affected n/a
References
References10
- 20471 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- ADV-2006-4016 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 20061011 Sun Microsystems Solaris NSPR Library Arbitrary File Creation Vulnerability (opens in a new tab)third-party-advisoryx_refsource_IDEFENSEx_transferred
- 20061013 Re: iDefense Security Advisory 10.11.06: Sun Microsystems Solaris NSPR Library Arbitrary File Creation Vulnerability (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 45433 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- nspr-api-file-create(29489) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 22348 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- oval:org.mitre.oval:def:1819 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 102658 (opens in a new tab)vendor-advisoryx_refsource_SUNALERTx_transferred
- 1017050 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2006-4829 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2006-4842)Record last updated .