Bug 2162970 (CVE-2023-0462)

Summary: CVE-2023-0462 Satellite/Foreman: Arbitrary code execution through yaml global parameters
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bbuckingham, bcourt, ehelms, jsherril, lzap, mhulan, myarboro, nmoumoul, orabin, pcreech, rchan, rlavi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: foreman 3.8.0 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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2162973, 2163522, 2163523, 2163524, 2227826    
Bug Blocks: 2161934    

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