Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1357559 - (CVE-2016-5402) CVE-2016-5402 cfme: RCE via Capacity & Utilization feature
CVE-2016-5402 cfme: RCE via Capacity & Utilization feature
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20161130,repo...
: Security
Depends On: 1376876 1376877 1397501
Blocks: 1357565
  Show dependency treegraph
 
Reported: 2016-07-18 09:53 EDT by Adam Mariš
Modified: 2018-06-29 18:13 EDT (History)
17 users (show)

See Also:
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:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2839 normal SHIPPED_LIVE Important: CFME 5.6.3 security, bug fix, and enhancement update 2016-11-30 19:51:49 EST

  None (edit)
Description Adam Mariš 2016-07-18 09:53:03 EDT
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:

https://github.com/ManageIQ/manageiq/blob/fb34cad0c44ae453fa4b81ae1c2c964e67ec1053/app/models/bottleneck_event.rb#L75

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

https://github.com/ManageIQ/manageiq/blob/fb34cad0c44ae453fa4b81ae1c2c964e67ec1053/db/fixtures/miq_event_definitions.yml#L18

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 09:53:10 EDT
Acknowledgments:

Name: Simon Lukasik (Red Hat)
Comment 9 errata-xmlrpc 2016-11-30 14:52:27 EST
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

Note You need to log in before you can comment on or make changes to this bug.