CVE-2024-7700
Foreman: command injection in "host init config" template via "install packages" field on foreman
- State
- Published
- Severity
- 6.5 Medium
- Published
- Aug 12, 2024
- Updated
- Nov 20, 2025
- Reserved
- Aug 12, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Products
| Product | Versions |
|---|---|
foreman | |
Red Hat Satellite 6Red Hat |
References
- https://access.redhat.com/security/cve/CVE-2024-7700vdb-entry
- RHBZ#2304090issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.