CVE Vulnerabilities

CVE-2016-7040

Improper Access Control

Published: Oct 07, 2016 | Modified: Nov 28, 2016
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
9 HIGH
AV:N/AC:L/Au:S/C:C/I:C/A:C
RedHat/V2
6 IMPORTANT
AV:N/AC:M/Au:S/C:P/I:P/A:P
RedHat/V3
8.8 IMPORTANT
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu

Red Hat CloudForms Management Engine 4.1 does not properly handle regular expressions passed to the expression engine via the JSON API and the web-based UI, which allows remote authenticated users to execute arbitrary shell commands by leveraging the ability to view and filter collections.

Weakness

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Affected Software

Name Vendor Start Version End Version
Cloudforms_management_engine Redhat 4.1 (including) 4.1 (including)
CloudForms Management Engine 5.6 RedHat cfme-0:5.6.2.1-1.el7cf *
CloudForms Management Engine 5.6 RedHat cfme-appliance-0:5.6.2.1-1.el7cf *
CloudForms Management Engine 5.6 RedHat cfme-gemset-0:5.6.2.1-1.el7cf *
CloudForms Management Engine 5.6 RedHat rh-ruby22-rubygem-nokogiri-0:1.6.8-1.el7cf *
CloudForms Management Engine 5.6 RedHat rh-ruby22-rubygem-pkg-config-0:1.1.7-1.el7cf *
CloudForms Management Engine 5.6 RedHat rh-ruby22-rubygem-thin-0:1.7.0-1.el7cf *

Extended Description

Access control involves the use of several protection mechanisms such as:

When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses:

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References