Bug 180724

Summary: CVE-2006-0576 Arbitrary code execution via OProfile
Product: [Fedora] Fedora Reporter: Josh Bressers <bressers>
Component: oprofileAssignee: William Cohen <wcohen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 4Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,reported=20060207,source=cve,public=20060207
Fixed In Version: FC5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-22 02:11:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Josh Bressers 2006-02-09 20:56:19 UTC
Arbitrary code execution via OProfile

A bug has been discovered in OProfile's opcontrol command.  By setting
PATH to point at certain malicious scripts, it is possible to execute
arbitrary commands as root.

We don't ship opcontrol setuid, but if a user has the ability to run
opcontrol via sudo, this issue can be leveraged.

It should be noted that untrusted users should not be given sudo
access, which seriously mitigates the potential damage this issue can
cause.

http://marc.theaimsgroup.com/?l=bugtraq&m=113935237519964&w=2

Comment 1 William Cohen 2006-02-10 15:30:32 UTC
There was some discussion on the oprofile mailing list to fix this. The
resulting patch from the upstream oprofile has been backported to the RHEL3
oprofile. Should be in oprofile 0.8.1-22.



Comment 2 William Cohen 2006-02-10 15:33:18 UTC
that should be oprofile 0.5.4-23.


Comment 3 Bill Nottingham 2006-09-22 02:11:59 UTC
Closing bugs in MODIFIED state from prior Fedora releases. If this bug persists
in a current Fedora release (such as Fedora Core 5 or later), please reopen and
set the version appropriately.