CVE-2023-0462 Arbitrary code execution through yaml global parameters
An admin user can execute arbitrary code on the underlying operating system by setting global parameters with a YAML payload in Foreman.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-0462?
CVE-2023-0462 is a high-severity code injection vulnerability in Redhat Satellite, published on 20 Sep 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An arbitrary code execution flaw was found in Foreman. This issue may allow an admin user to execute arbitrary code on the underlying operating system by setting global parameters with a YAML payload.
Weakness: CWE-94
Which versions are affected by CVE-2023-0462?
It affects 2 products.
Products include Redhat Satellite, Theforeman Foreman.
How do I fix CVE-2023-0462?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2023-0462 being exploited?
There is no known exploitation of CVE-2023-0462 in the wild and no public exploit code.
Other vulnerabilities in Redhat Satellite
- CVE-2024-7012 Puppet-foreman: an authentication bypass vulnerability exists in foreman
- CVE-2024-7923 Puppet-pulpcore: an authentication bypass vulnerability exists in pulpcore
- CVE-2026-96659 Foreman: excessive permissions for viewer role on preview
- CVE-2023-0118 Foreman: arbitrary code execution through templates
- CVE-2008-2369 Hardcoded credentials in n/a
Sources
Also known as GHSA-6c26-fwvj-8945.