Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 533
Alerts This Week
Warning Icon 1 533

Red Hat OpenStack 3.0 RHSA-2013:0995-01 Severe: Foreman Code Execution

red hat
Calendar Grey June 27, 2013
Scroller Redhat Esm H88
Recent Foreman updates address critical vulnerabilities in Red Hat OpenStack, notably flaws that could lead to remote code execution and unauthorized administrative access.
Updated Foreman packages that fix two security issues and multiple bugs are now available for Red Hat OpenStack 3.0 (Grizzly) Preview

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/articles/11258

Summary

The Foreman packages provide facilities for rapidly deploying Red Hat OpenStack 3.0 ("Grizzly") Preview. These packages are provided as a Technology Preview. For more information on the scope and nature of support for items marked as Technology Preview, refer to https://access.redhat.com/support/offerings/techpreview
A flaw was found in the create method of the Foreman Bookmarks controller. A user with privileges to create a bookmark could use this flaw to execute arbitrary code with the privileges of the user running Foreman, giving them control of the system running Foreman (such as installing new packages) and all systems managed by Foreman. (CVE-2013-2121)
A flaw was found in the way the Foreman UsersController controller handled user creation. A non-admin user with privileges to create non-admin accounts could use this flaw to create admin accounts, giving them control of the system running Foreman (such as installing new packages) and all systems managed by Foreman. (CVE-2013-2113)
These issues were discovered by Ramon de C Valle of the Red Hat Product Security Team.
This update also fixes the following bugs:
* The cron job for Puppet had an incorrect path when installed via the Foreman installer. (BZ#969531)
* This update removes provisioning templates and installation media for unsupported client operating systems. (BZ#971545)
* Previously, the init script for Foreman was installed in the /opt/ directory, resulting in errors when attempting to use the "service" command to control Foreman, and errors when installing or upgrading the Foreman packages. As the Foreman service is not needed for Red Hat OpenStack, this update removes the init script. (BZ#972755)
* Previously, after using Foreman to install controller and compute nodes, it was not possible to launch compute instances. (BZ#972780)
* Previously, Foreman compiled assets for an incorrect path. The assets were configured for "[fully qualified domain name]/foreman", which is not where Foreman is served from in Red Hat OpenStack. (BZ#975068)
* Previously, the Foreman installer used a reference to an OpenStack host's network interface instead of its own secondary interface when creating a subnet, which could cause subnet creation to fail and a "rake aborted!" message to be displayed. (BZ#976907)
Users of Foreman are advised to upgrade to these updated packages, which correct these issues. In Red Hat OpenStack, Foreman runs on the Apache HTTP Server using mod_passenger. As such, after installing the updated packages, the httpd service must be restarted ("service httpd restart") for this update to take effect.

References

https://access.redhat.com/security/cve/CVE-2013-2113 https://access.redhat.com/security/cve/CVE-2013-2121 https://access.redhat.com/security/updates/classification#important https://access.redhat.com/support/offerings/techpreview

Package List

OpenStack 3:
Source:
noarch: ruby193-foreman-1.1.10009-3.el6ost.noarch.rpm ruby193-foreman-mysql-1.1.10009-3.el6ost.noarch.rpm ruby193-foreman-proxy-1.1.10001-4.el6ost.noarch.rpm ruby193-rubygem-ancestry-1.3.0-5.el6ost.noarch.rpm ruby193-rubygem-ancestry-doc-1.3.0-5.el6ost.noarch.rpm ruby193-rubygem-fog-1.10.1-11.el6ost.noarch.rpm ruby193-rubygem-fog-doc-1.10.1-11.el6ost.noarch.rpm ruby193-rubygem-safemode-1.2.0-9.el6ost.noarch.rpm ruby193-rubygem-safemode-doc-1.2.0-9.el6ost.noarch.rpm
x86_64: ruby193-openstack-foreman-installer-0.0.18-1.el6ost.x86_64.rpm ruby193-openstack-foreman-installer-debuginfo-0.0.18-1.el6ost.x86_64.rpm ruby193-rubygem-mysql-2.8.1-4.el6ost.x86_64.rpm ruby193-rubygem-mysql-debuginfo-2.8.1-4.el6ost.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key#package


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2013:0995-01
Product: Red Hat OpenStack
Issue date: 2013-06-27

Topic

Updated Foreman packages that fix two security issues and multiple bugsare now available for Red Hat OpenStack 3.0 (Grizzly) Preview.The Red Hat Security Response Team has rated this update as havingimportant security impact. Common Vulnerability Scoring System (CVSS) basescores, which give detailed severity ratings, are available for eachvulnerability from the CVE links in the References section.

Relevant Releases Architectures

OpenStack 3 - noarch, x86_64

Bugs Fixed

966804 - CVE-2013-2113 Foreman: app/controllers/users_controller.rb arbitrary admin user creation due to mass assignment

968166 - CVE-2013-2121 Foreman: app/controllers/bookmarks_controller.rb remote code execution

969531 - puppet cron installed with wrong path

971545 - Brand: remove non-RHEL templates and install media from Foreman

972780 - Unable to launch a compute instance (openstack-foreman)

975068 - Foreman asset compilation directory incorrect

976907 - Foreman installer ruby setup uses wrong nic

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.