Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 207347

Summary: CVE-2006-0576 Arbitrary code execution via OProfile
Product: Red Hat Enterprise Linux 3 Reporter: Josh Bressers <bressers>
Component: oprofileAssignee: William Cohen <wcohen>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 3.0CC: mjc
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,reported=20060207,source=cve,public=20060207
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-01 10:13:03 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-09-20 19:30:02 UTC
+++ This bug was initially created as a clone of Bug #180723 +++

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


This issue also affects RHEL3

-- Additional comment from wcohen on 2006-02-10 10:15 EST --
There was some discussion on the oprofile mailing list to fix this. The
resulting patch from the upstream oprofile has been backported to the RHEL4
oprofile. Should be in oprofile 0.8.1-22.

-- Additional comment from bressers on 2006-03-01 14:53 EST --
Don't forget to patch this in RHEL3 as well as RHEL4.

-- Additional comment from wcohen on 2006-03-01 15:08 EST --
This patch was checked into RHEL-3 repository. Just need to submit to the build
system.


This bug has been split from the RHEL4 bug to track this issue for RHEL3

Comment 1 William Cohen 2006-11-20 16:08:08 UTC
oprofile-0.5.4-24 built that has the required backport of the fix.

Comment 2 Mark J. Cox 2010-11-01 10:13:03 UTC
EOL