Bug 1253692 (CVE-2006-4842) - CVE-2006-4842 nspr: setuid root programs linked with NSPR allow elevation of privilege
Summary: CVE-2006-4842 nspr: setuid root programs linked with NSPR allow elevation of ...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2006-4842
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-14 13:13 UTC by Adam Mariš
Modified: 2021-11-12 19:34 UTC (History)
2 users (show)

Fixed In Version: nspr 4.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-14 14:30:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2015-08-14 13:13:32 UTC
NSPR logging is controlled with a couple of environment variables, 
one to enable it, and a second to control the name of the log file.
This appears to all work in "optimized" (non-debug) builds.  

So, if any setuid root program is linked with NSPR, any user can clobber
any file on the system (any root writable file) by setting NSPR's 
environment variables to log to that file, and then running a setuid root
program linked with NSPR.

External reference:
https://bugzilla.mozilla.org/show_bug.cgi?id=351470


Note You need to log in before you can comment on or make changes to this bug.