Bug 1253692 - (CVE-2006-4842) CVE-2006-4842 nspr: setuid root programs linked with NSPR allow elevation of privilege
CVE-2006-4842 nspr: setuid root programs linked with NSPR allow elevation of ...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20060905,repo...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-14 09:13 EDT by Adam Mariš
Modified: 2015-08-14 10:30 EDT (History)
2 users (show)

See Also:
Fixed In Version: nspr 4.7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-14 10:30:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2015-08-14 09:13:32 EDT
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.