Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-7700 EUVD-2024-48583GHSA-vgwc-ppmj-vcrg

Foreman: command injection in "host init config" template via "install packages" field on foreman

Published Aug 12, 2024 · Updated Nov 20, 2025 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— foreman — —
Red Hat Red Hat Satellite 6 — —

References