CVE-2024-7700: Foreman: command injection in "host init config" template via "install packages" field on foreman
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.
Other sources
A command injection vulnerability was identified in Foreman, affecting the "Host Init Config" template. The issue arises when commands are injected through the "Install Packages" field on the "Register Host" page. An attacker with elevated privileges on the Foreman server could craft malicious commands, which would be executed when the host is registered. This could lead to unauthorized actions.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-7700?
CVE-2024-7700 is classified as a high severity command injection vulnerability.
How do I fix CVE-2024-7700?
To mitigate CVE-2024-7700, update to the latest version of the Foreman application that addresses this vulnerability.
Who is affected by CVE-2024-7700?
CVE-2024-7700 affects users of The Foreman application that utilize the "Install Packages" field on the "Register Host" page.
What are the potential impacts of CVE-2024-7700?
If exploited, CVE-2024-7700 could allow an attacker to inject arbitrary commands, compromising the security of the affected system.
Is Red Hat Satellite 6.0 affected by CVE-2024-7700?
No, Red Hat Satellite 6.0 is not affected by CVE-2024-7700.