Skip to content
OpenAdvisories
Unscored Public exploit CVE-2013-2113 EUVD-2013-2083GHSA-5f23-fjp4-22q7

The create method in app/controllers/users_controller.rb in Foreman before 1.2.0-RC2 allows remote authenticated users with permissions to …

Published Jul 31, 2013 · Updated Aug 6, 2024 · Assigned by redhat

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.

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References