Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 30 Apr 2011 19:56:42 -0400
From: William Cohen <>
To: oss-security <>
CC: Jan Lieskovsky <>,
        "Steven M. Christey" <>,
        Stephane Chauveau <>,
        Maynard Johnson <>,
        Robert Richter <>
Subject: Re: CVE Request -- oprofile -- Local privilege escalation via crafted
 opcontrol event parameter when authorized by sudo

On 04/29/2011 02:16 PM, Jan Lieskovsky wrote:
> Hello Josh, Steve, vendors,
>   It was found that oprofile profiling system did not properly sanitize
> the content of event argument, provided to oprofile profiling control
> utility (opcontrol). If a local unprivileged user was authorized by
> sudoers file to run the opcontrol utility, they could use the flaw
> to escalate their privileges (execute arbitrary code with the privileges
> of the privileged system user, root). Different vulnerability than
> CVE-2006-0576.
> References:
> [1]
> [2]
> Could you allocate a CVE id for this?
> Thank you & Regards, Jan.
> -- 
> Jan iankko Lieskovsky / Red Hat Security Response Team
> P.S.: Oprofile is not encouraged to be run under sudo, but still
>       should not allow escalation of privileges.


I did a bisection on oprofile git and found the set_event function in opcontrol in:;a=commit;h=6b60be5e370aa8d58bd4fbbc39abd51c90509a31

The email thread associated with that patch:

Appears that the eval is being used to simulate arrays:


Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.