First published: Thu Oct 12 2006(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Apache Portable Runtime | =4.6.2 | |
Apache Portable Runtime | =4.6.1 | |
Oracle Solaris SPARC | =10.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2006-4842 has a medium severity rating, allowing local users to potentially overwrite files due to improper handling of environment variables.
To fix CVE-2006-4842, avoid trusting user-specified environment variables for log file locations, especially in setuid programs.
CVE-2006-4842 affects Netscape Portable Runtime API versions 4.6.1 and 4.6.2, as well as Oracle Solaris 10.
CVE-2006-4842 can be exploited by local users who have access to setuid programs.
CVE-2006-4842 represents a local file overwrite vulnerability due to improper validation of user-specified environment variables.