CVE-2023-0118

Foreman: arbitrary code execution through templates

State
Published
Severity
9.1 Critical
Published
Sep 20, 2023
Updated
Sep 17, 2024
Reserved
Jan 9, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
foreman
    Red Hat Satellite 6.11 for RHEL 7Red Hat
    • 0:3.1.1.27-1.el7sat and laterNot affected
    Red Hat Satellite 6.11 for RHEL 7Red Hat
    • 0:3.1.1.27-1.el7sat and laterNot affected
    Red Hat Satellite 6.11 for RHEL 8Red Hat
    • 0:3.1.1.27-1.el8sat and laterNot affected
    Red Hat Satellite 6.11 for RHEL 8Red Hat
    • 0:3.1.1.27-1.el8sat and laterNot affected
    Red Hat Satellite 6.12 for RHEL 8Red Hat
    • 0:1.3.8-1.el8sat and laterNot affected
    Red Hat Satellite 6.13 for RHEL 8Red Hat
    • 0:1.3.8-1.el8sat and laterNot affected
    Red Hat Satellite 6.14 for RHEL 8Red Hat
    • 0:3.7.0.9-1.el8sat and laterNot affected
    Red Hat Satellite 6.14 for RHEL 8Red Hat
    • 0:3.7.0.9-1.el8sat and laterNot affected

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.