What’s Vulnerable › Vulnerabilities
CVE-2024-7700: Foreman: command injection in "host init config" template via "install packages" field on foreman
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-12 · updated 2026-06-17
- Weakness: CWE-77
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
- foreman: all versions
References
- https://access.redhat.com/security/cve/CVE-2024-7700
- https://bugzilla.redhat.com/show_bug.cgi?id=2304090
Get alerted when CVE-2024-7700 or the next vulnerability affects your stack