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

Published Aug 12, 2024
·
Updated

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

3 affected components
theforeman foreman
All of the following
theforeman foreman
redhat Satellite=6.0

Event History

Aug 12, 2024
Data Sourced
via Red Hat·10:57 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·04:48 PM
Data Sourced
via MITRE·04:48 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-7700?

CVE-2024-7700 is classified as a high severity command injection vulnerability.

2

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.

3

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.

4

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.

5

Is Red Hat Satellite 6.0 affected by CVE-2024-7700?

No, Red Hat Satellite 6.0 is not affected by CVE-2024-7700.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203