Skip to content

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

MediumCVSS 6.5 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

3 packages: 0 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
foreman All versions No fix listed No fix yet
redhat satellite All versions No fix listed No fix yet
theforeman foreman All versions No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
foreman All versions No fix listed
redhat satellite All versions No fix listed
theforeman foreman All versions No fix listed

References