CVE-2024-7700
published medium CVSS 3.1 · 6.5Foreman: command injection in "host init config" template via "install packages" field on foreman
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| foreman | Default: affected | redhat · cna | |
| Red Hat | Red Hat Satellite 6 | Default: affected | redhat · cna |
Weaknesses
1- CWE-77 Improper Neutralization of Special Elements used in a Command
References
2- https://access.redhat.com/security/cve/CVE-2024-7700
- RHBZ#2304090 https://bugzilla.redhat.com/show_bug.cgi?id=2304090
Provider assertions
2redhat · cna
Foreman: command injection in "host init config" template via "install packages" field on foreman
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d4bf68397d95d79ab252abe904843d392946566a99336dc07ae6b9ca0938fd90
- Ingested
- 26 Nov 2026, 20:54:48 UTC
- Source record
- Official CVE record