All reports
Medium

Foreman: Command Injection in "Host Init Config" Template via "Install Packages" Field on Foreman

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-7700

Probability of exploitation in the next 30 days: 0.78%

FIRST EPSS · 2026-11-21

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.

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.