Vulnerability · Published Sep 20, 2023 · Assigned by redhat
CVE-2023-0118Foreman: arbitrary code execution through templates
Critical 9.1
In plain English
A critical-severity OS command injection in foreman. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities).
Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)1.4%top 27.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| foreman | see references | |
| Red Hat | Red Hat Satellite 6.11 for RHEL 7 | see references |
| Red Hat | Red Hat Satellite 6.11 for RHEL 7 | see references |
| Red Hat | Red Hat Satellite 6.11 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.11 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.12 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.13 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.14 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.14 for RHEL 8 | see references |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- RHSA-2023:4466 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:5979 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:5980 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:6818 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-0118 vdb-entry, x_refsource_REDHAT
- RHBZ#2159291 issue-tracking, x_refsource_REDHAT