====================================================================                   Red Hat Security Advisory

Synopsis:          Important: Foreman security and bug fix update
Advisory ID:       RHSA-2013:0995-01
Product:           Red Hat OpenStack
Advisory URL:      https://access.redhat.com/errata/RHSA-2013:0995.html
Issue date:        2013-06-27
CVE Names:         CVE-2013-2113 CVE-2013-2121 
====================================================================
1. Summary:

Updated Foreman packages that fix two security issues and multiple bugs
are now available for Red Hat OpenStack 3.0 (Grizzly) Preview.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

2. Relevant releases/architectures:

OpenStack 3 - noarch, x86_64

3. Description:

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.

4. 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/knowledge/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

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

6. 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

7. References:

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

8. Contact:

The Red Hat security contact is .  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.

Red Hat: 2013:0995-01: Foreman: Important Advisory

Updated Foreman packages that fix two security issues and multiple bugs are now available for Red Hat OpenStack 3.0 (Grizzly) Preview

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.



Summary


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/knowledge/articles/11258

References

https://www.redhat.com/security/data/cve/CVE-2013-2113.html https://www.redhat.com/security/data/cve/CVE-2013-2121.html 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
Advisory ID: RHSA-2013:0995-01
Product: Red Hat OpenStack
Advisory URL: https://access.redhat.com/errata/RHSA-2013:0995.html
Issued Date: : 2013-06-27
CVE Names: CVE-2013-2113 CVE-2013-2121

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.


Topic


 

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


Related News