{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-2113 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2013-2113 is a medium-severity vulnerability in Redhat Openstack, published on 31 Jul 2013. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-2113 and fix it if it is affected.\n\nWhat it is: CVE-2013-2113 is a medium-severity vulnerability in Redhat Openstack, published on 31 Jul 2013. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-2113 exists.\n\nAffected product: Redhat Openstack. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2013-2113/ (Markdown: https://insights.sbomify.com/CVE-2013-2113/index.md)","id":"CVE-2013-2113","markdown":"https://insights.sbomify.com/CVE-2013-2113/index.md","name":"CVE-2013-2113","record":{"aliases":["GHSA-5f23-fjp4-22q7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Foreman IT management","requires_auth":"low_privilege","summary":"Authenticated users with user creation permissions can escalate privileges to admin by modifying the admin flag or assigning arbitrary roles.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openstack","vendor":"redhat"},{"product":"foreman","vendor":"theforeman"}],"cvss":{"score":6,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2013-06-06","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2013-06-06","kind":"metasploit","ref":"auxiliary/admin/http/foreman_openstack_satellite_priv_esc","stars":null,"title":"Foreman (Red Hat OpenStack/Satellite) users/create Mass Assignment"},{"date":"2013-08-22","kind":"exploitdb","ref":"27776","stars":null,"title":"Foreman (RedHat OpenStack/Satellite) - users/create Mass Assignment (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"Privilege escalation in n/a","id":"CVE-2013-2113","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:openstack","products":["redhat:openstack","theforeman:foreman"],"type":"privilege_escalation","year":"2013"},"n_packages":0,"n_references":4,"next":{"headline":"File upload in n/a","id":"CVE-2013-2114"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2013-2112"},"products":["n/a"],"published":"2013-07-31","related":[{"cvss_score":10,"headline":"Hardcoded credentials in n/a","id":"CVE-2015-1842","kev_date_added":null,"published":"2015-04-10"},{"cvss_score":9.9,"headline":"Auth bypass in rhosp-director","id":"CVE-2017-2637","kev_date_added":null,"published":"2018-07-26"},{"cvss_score":8.8,"headline":"Privilege escalation in OpenStack","id":"CVE-2022-38065","kev_date_added":null,"published":"2022-12-21"},{"cvss_score":8.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2016-4474","kev_date_added":null,"published":"2016-06-30"},{"cvss_score":7.5,"headline":"Information disclosure in tripleo-ansible","id":"CVE-2021-31918","kev_date_added":null,"published":"2021-05-06"},{"cvss_score":7.5,"headline":"Hardcoded credentials in openstack-db program","id":"CVE-2013-1793","kev_date_added":null,"published":"2019-12-10"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2014-3691","kev_date_added":null,"published":"2015-03-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Authenticated users with user creation permissions can escalate privileges to admin by modifying the admin flag or assigning arbitrary roles.","url":"https://insights.sbomify.com/CVE-2013-2113/"}