Description
The create method in app/controllers/users_controller.rb in Foreman before 1.2.0-RC2 allows remote authenticated users with permissions to create or edit other users to gain privileges by (1) changing the admin flag or (2) assigning an arbitrary role.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 3 | ruby193-foreman +1 | 1.1.10009-3.el6ost | RHSA-2013:0995 |
| Red Hat OpenStack 3 | ruby193-foreman-proxy | 1.1.10001-4.el6ost | RHSA-2013:0995 |
| Red Hat OpenStack 3 | ruby193-openstack-foreman-installer | 0.0.18-1.el6ost | RHSA-2013:0995 |
| Red Hat OpenStack 3 | ruby193-rubygem-ancestry +1 | 1.3.0-5.el6ost | RHSA-2013:0995 |
| Red Hat OpenStack 3 | ruby193-rubygem-fog +1 | 1.10.1-11.el6ost | RHSA-2013:0995 |
| Red Hat OpenStack 3 | ruby193-rubygem-mysql | 2.8.1-4.el6ost | RHSA-2013:0995 |
| Red Hat OpenStack 3 | ruby193-rubygem-safemode +1 | 1.2.0-9.el6ost | RHSA-2013:0995 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Foreman (Red Hat OpenStack/Satellite) users/create Mass Assignment
auxiliary/admin/http/foreman_openstack_satellite_priv_esc
Exploit-DB 1
- Foreman (RedHat OpenStack/Satellite) - users/create Mass Assignment (Metasploit) EDB-27776 · webapps · Aug 22, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- RHSA-2013:0995 Red Hat Security Advisory: Foreman security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026