Bug 1357559 (CVE-2016-5402)

Summary: CVE-2016-5402 cfme: RCE via Capacity & Utilization feature
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cpelland, dajohnso, gblomqui, gmccullo, gtanzill, hhudgeon, jfrey, jhardy, jprause, jrafanie, jrusnack, obarenbo, roliveri, security-response-team, simaishi, slukasik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A code injection flaw was found in the way capacity and utilization imported control files are processed. A remote, authenticated attacker with access to the capacity and utilization feature could use this flaw to execute arbitrary code as the user CFME runs as.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:56:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: Red Hat1376876, Red Hat1376877, Red Hat1397501    
Bug Blocks: Embargoed1357565    

Description Adam Mariš 2016-07-18 13:53:03 UTC
A vulnerability in CFME and ManageIQ was found allowing users authorized to product feature known as "Control" or "Policies" to run arbitrary code as root.

Vulnerable code:


The `eval` is being run on a property of MiqEventDefinition table. Usually, this table is filled with stock data on product start-up. The default properties of this table are at


However, attacker can override any of the default stock values and put his code into the MiqEventDefinition table, which is later `eval`ed.

Comment 1 Adam Mariš 2016-07-18 13:53:10 UTC

Name: Simon Lukasik (Red Hat)

Comment 9 errata-xmlrpc 2016-11-30 19:52:27 UTC
This issue has been addressed in the following products:

  CloudForms Management Engine 5.6

Via RHSA-2016:2839 https://rhn.redhat.com/errata/RHSA-2016-2839.html