Foreman: arbitrary code execution through templates (foreman)

CVE-2023-0118
CRITICAL 9.1

At a glance

Source
NVD
EPSS
EPSS 1.38 % · percentile 72 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

Description

An arbitrary code execution flaw was found in Foreman. This flaw allows an admin user to bypass safe mode in templates and execute arbitrary code on the underlying operating system.

Weaknesses (CWE)

  • CWE-78 — Improper Neutralization of Special Elements used in an OS Command

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:Hredhat
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
foreman
Red Hat · Red Hat Satellite 6.11 for RHEL 7unaffected 0:3.1.1.27-1.el7sat < *
Red Hat · Red Hat Satellite 6.11 for RHEL 7unaffected 0:3.1.1.27-1.el7sat < *
Red Hat · Red Hat Satellite 6.11 for RHEL 8unaffected 0:3.1.1.27-1.el8sat < *
Red Hat · Red Hat Satellite 6.11 for RHEL 8unaffected 0:3.1.1.27-1.el8sat < *
Red Hat · Red Hat Satellite 6.12 for RHEL 8unaffected 0:1.3.8-1.el8sat < *
Red Hat · Red Hat Satellite 6.13 for RHEL 8unaffected 0:1.3.8-1.el8sat < *
Red Hat · Red Hat Satellite 6.14 for RHEL 8unaffected 0:3.7.0.9-1.el8sat < *
Red Hat · Red Hat Satellite 6.14 for RHEL 8unaffected 0:3.7.0.9-1.el8sat < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD