Bug 2162970 (CVE-2023-0462) - CVE-2023-0462 Satellite/Foreman: Arbitrary code execution through yaml global parameters
Summary: CVE-2023-0462 Satellite/Foreman: Arbitrary code execution through yaml global...
Keywords:
Status: NEW
Alias: CVE-2023-0462
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2162973 2163523 2163524 2227826 2163522
Blocks: 2161934
TreeView+ depends on / blocked
 
Reported: 2023-01-22 13:39 UTC by ybuenos
Modified: 2023-07-31 15:40 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36219 0 Normal Ready For Testing use YAML.safe_load instead of YAML.load 2023-03-22 17:11:14 UTC

Description ybuenos 2023-01-22 13:39:46 UTC
By creating a Yaml global parameter under "Configure"->"Global Parameters" which contains a crafted payload, an attacker with admin privileges on the foreman instance can execute arbitrary code on the underlying operating system.


Note You need to log in before you can comment on or make changes to this bug.