Foreman: command injection in "host init config" template via "install packages" field on foreman (foreman)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.78 % Β· percentile 56 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-77 β Improper Neutralization of Special Elements used in a Command
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H | NVD Β· secalert@redhat.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2024-48583
- GCVE Β· GCVE-0-2024-7700
Affected configurations (NVD CPE)
cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| foreman | |
| Red Hat Β· Red Hat Satellite 6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |