Bug 1092894 (CVE-2014-3642)

Summary: CVE-2014-3642 CFME: dangerous send method in performance.rb
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: apatters, bdunne, chazlett, dajohnso, dclarizi, gmccullo, jfrey, jrafanie, jrusnack, kseifried, mpovolny, obarenbo, security-response-team, xlecauch
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was found that Red Hat CloudForms contained an insecure send method that accepted user-supplied arguments. An authenticated user could use this flaw to modify the program flow in a way that could result in privilege escalation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-02 20:30:42 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:
Bug Depends On: 1142455, 1142456    
Bug Blocks: 1092895    

Description Kurt Seifried 2014-04-30 08:01:32 UTC
Jan Rusnacko of Red Hat reports:

current CFME code contains dangerous send in
cfme/vmdb/app/controllers/application_controller/performance.rb :

747: p_rpt.where_clause[2] =
@perf_record.send(@perf_options[:parent].underscore).id

This calls .send method on @perf_record, with argument @perf_options[:parent],
which is supplied by user:

29: @perf_options[:parent] = params[:compare_to].blank? ? nil :
params[:compare_to] if params.has_key?(:compare_to)

Comment 1 Martin Povolny 2014-08-19 13:53:22 UTC
this bug was fixed by dclarizio 2982783ab1a5432d9a63a645061986f82bb95514 in the old upstream repo

and it's fixed with the initial commit in the new repo

so this is fixed for 5.3 --> moving to to QA

Comment 3 Kurt Seifried 2014-09-17 02:21:14 UTC
Acknowledgement:

This issue was discovered by Jan Rusnacko of Red Hat Product Security.

Comment 4 Martin Prpič 2014-09-29 13:35:10 UTC
IssueDescription:

It was found that Red Hat CloudForms contained an insecure send method that accepted user-supplied arguments. An authenticated user could use this flaw to modify the program flow in a way that could result in privilege escalation.

Comment 5 errata-xmlrpc 2014-10-02 18:58:18 UTC
This issue has been addressed in the following products:

  CloudForms Management Engine 5.3

Via RHSA-2014:1317 https://rhn.redhat.com/errata/RHSA-2014-1317.html