{"id":"CVE-2024-7700","aliases":["CVE-2024-7700"],"related":[],"kind":"vulnerability","state":"published","title":"Foreman: command injection in \"host init config\" template via \"install packages\" field on foreman","summary":"A command injection flaw was found in the \"Host Init Config\" template in the Foreman application via the \"Install Packages\" field on the \"Register Host\" page. This flaw allows an attacker with the necessary privileges to inject arbitrary commands into the configuration, potentially allowing unauthorized command execution during host registration. Although this issue requires user interaction to execute injected commands, it poses a significant risk if an unsuspecting user runs the generated registration script.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A command injection flaw was found in the \"Host Init Config\" template in the Foreman application via the \"Install Packages\" field on the \"Register Host\" page. This flaw allows an attacker with the necessary privileges to inject arbitrary commands into the configuration, potentially allowing unauthorized command execution during host registration. Although this issue requires user interaction to execute injected commands, it poses a significant risk if an unsuspecting user runs the generated registration script.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla de inyección de comando en la plantilla \"Host Init Config\" en la aplicación Foreman a través del campo \"Instalar paquetes\" en la página \"Registrar host\". Esta falla permite a un atacante con los privilegios necesarios inyectar comandos arbitrarios en la configuración, lo que potencialmente permite la ejecución de comandos no autorizados durante el registro del host. Aunque este problema requiere la interacción del usuario para ejecutar comandos inyectados, plantea un riesgo significativo si un usuario desprevenido ejecuta el script de registro generado.","source":"nvd"}],"published":"2024-08-12T16:48:54.120Z","modified":"2026-11-26T20:45:11.376Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-77"],"affected":[{"ranges":[],"package":"foreman","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"foreman","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"},{"ranges":[],"vendor":"theforeman","product":"foreman","cpe":"cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-7700","tags":["third-party-advisory","vdb-entry","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2304090","tags":["issue-tracking","third-party-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Markus Reisner (ATIX AG) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-08-14T13:23:21.690Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-7700","url":"https://www.cve.org/CVERecord?id=CVE-2024-7700","licence":"CVE Terms of Use","modified":"2026-11-26T20:45:11.376Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-7700","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7700","licence":"Public domain","modified":"2026-06-17T08:20:45.203Z"}],"updatedAt":"2026-11-26T20:57:08.089Z","epss":{"score":0.00783,"percentile":0.57213,"date":"2026-12-01T12:00:22.000Z"}}