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 2163522 2163523 2163524 2227826
Blocks: 2161934
TreeView+ depends on / blocked
 
Reported: 2023-01-22 13:39 UTC by ybuenos
Modified: 2023-12-20 10:55 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
Red Hat Product Errata RHSA-2023:5931 0 None None None 2023-10-19 13:13:07 UTC
Red Hat Product Errata RHSA-2023:5979 0 None None None 2023-10-20 18:43:19 UTC
Red Hat Product Errata RHSA-2023:5980 0 None None None 2023-10-20 18:44:01 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.

Comment 8 errata-xmlrpc 2023-10-19 13:13:06 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.13 for RHEL 8

Via RHSA-2023:5931 https://access.redhat.com/errata/RHSA-2023:5931

Comment 9 errata-xmlrpc 2023-10-20 18:43:17 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.12 for RHEL 8

Via RHSA-2023:5979 https://access.redhat.com/errata/RHSA-2023:5979

Comment 10 errata-xmlrpc 2023-10-20 18:43:59 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.11 for RHEL 7
  Red Hat Satellite 6.11 for RHEL 8

Via RHSA-2023:5980 https://access.redhat.com/errata/RHSA-2023:5980


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