{"id":"CVE-2023-0118","sourceIdentifier":"secalert@redhat.com","published":"2023-09-20T14:15:12.827","lastModified":"2026-06-17T05:24:49.283","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Se encontró una falla en la ejecución de código arbitrario en Foreman. Esta falla permite a un usuario administrador omitir el modo seguro en las plantillas y ejecutar código arbitrario en el sistema operativo subyacente."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"defaultStatus":"affected","collectionURL":"https://github.com/theforeman/foreman","packageName":"foreman"},{"vendor":"Red Hat","product":"Red Hat Satellite 6.11 for RHEL 7","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"foreman","cpes":["cpe:/a:redhat:satellite_capsule:6.11::el8","cpe:/a:redhat:satellite_capsule:6.11::el7","cpe:/a:redhat:satellite_utils:6.11::el8","cpe:/a:redhat:satellite:6.11::el7","cpe:/a:redhat:satellite_utils:6.11::el7","cpe:/a:redhat:satellite:6.11::el8"],"versions":[{"version":"0:3.1.1.27-1.el7sat","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.11 for RHEL 7","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"foreman","cpes":["cpe:/a:redhat:satellite_capsule:6.11::el8","cpe:/a:redhat:satellite_capsule:6.11::el7","cpe:/a:redhat:satellite_utils:6.11::el8","cpe:/a:redhat:satellite:6.11::el7","cpe:/a:redhat:satellite_utils:6.11::el7","cpe:/a:redhat:satellite:6.11::el8"],"versions":[{"version":"0:3.1.1.27-1.el7sat","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.11 for RHEL 8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"foreman","cpes":["cpe:/a:redhat:satellite_capsule:6.11::el8","cpe:/a:redhat:satellite_capsule:6.11::el7","cpe:/a:redhat:satellite_utils:6.11::el8","cpe:/a:redhat:satellite:6.11::el7","cpe:/a:redhat:satellite_utils:6.11::el7","cpe:/a:redhat:satellite:6.11::el8"],"versions":[{"version":"0:3.1.1.27-1.el8sat","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.11 for RHEL 8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"foreman","cpes":["cpe:/a:redhat:satellite_capsule:6.11::el8","cpe:/a:redhat:satellite_capsule:6.11::el7","cpe:/a:redhat:satellite_utils:6.11::el8","cpe:/a:redhat:satellite:6.11::el7","cpe:/a:redhat:satellite_utils:6.11::el7","cpe:/a:redhat:satellite:6.11::el8"],"versions":[{"version":"0:3.1.1.27-1.el8sat","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.12 for RHEL 8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rubygem-safemode","cpes":["cpe:/a:redhat:satellite:6.12::el8","cpe:/a:redhat:satellite_capsule:6.12::el8","cpe:/a:redhat:satellite_utils:6.12::el8"],"versions":[{"version":"0:1.3.8-1.el8sat","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.13 for RHEL 8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rubygem-safemode","cpes":["cpe:/a:redhat:satellite_capsule:6.13::el8","cpe:/a:redhat:satellite_utils:6.13::el8","cpe:/a:redhat:satellite_maintenance:6.13::el8","cpe:/a:redhat:satellite:6.13::el8"],"versions":[{"version":"0:1.3.8-1.el8sat","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.14 for RHEL 8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"foreman","cpes":["cpe:/a:redhat:satellite_maintenance:6.14::el8","cpe:/a:redhat:satellite_utils:6.14::el8","cpe:/a:redhat:satellite:6.14::el8","cpe:/a:redhat:satellite_capsule:6.14::el8"],"versions":[{"version":"0:3.7.0.9-1.el8sat","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.14 for RHEL 8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"foreman","cpes":["cpe:/a:redhat:satellite_maintenance:6.14::el8","cpe:/a:redhat:satellite_utils:6.14::el8","cpe:/a:redhat:satellite:6.14::el8","cpe:/a:redhat:satellite_capsule:6.14::el8"],"versions":[{"version":"0:3.7.0.9-1.el8sat","lessThan":"*","versionType":"rpm","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"secalert@redhat.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.3,"impactScore":6.0},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.3,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-08-07T18:09:30.819280Z","id":"CVE-2023-0118","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"secalert@redhat.com","type":"Secondary","description":[{"lang":"en","value":"CWE-78"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-78"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*","matchCriteriaId":"1C66A3AE-183C-49B6-9B8A-53BB90AFBDCF"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.13.3","matchCriteriaId":"88D8026B-94E6-4B69-AEEB-7A1B26D1153C"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","matchCriteriaId":"F4CFF558-3C47-480D-A2F0-BABF26042943"}]}]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:4466","source":"secalert@redhat.com","tags":["Release Notes","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:5979","source":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5980","source":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:6818","source":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2023-0118","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2159291","source":"secalert@redhat.com","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:4466","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:5979","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5980","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:6818","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/security/cve/CVE-2023-0118","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2159291","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"]}]}