CVE-2024-7700 in Theforeman Foreman and 1 more product
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 exec...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, high privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Theforeman | Foreman | No version listed by the source |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Redhat Satellite
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-7700 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-047664-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| Published | 2024-08-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A command injection flaw in the Foreman application's 'Host Init Config' template via the 'Install Packages' field allows attackers with necessary privileges to execute arbitrary commands during host registration.
The vulnerability exists in the 'Install Packages' field on the 'Register Host' page of the Foreman application. An attacker can inject malicious commands if they have the required privileges, leading to unauthorized command execution.
Questions
What is CVE-2024-7700?
A command injection flaw in the Foreman application's 'Host Init Config' template via the 'Install Packages' field allows attackers with necessary privileges to execute arbitrary commands during host registration.
What is the CVSS score for CVE-2024-7700?
CVE-2024-7700 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.2%.
Is CVE-2024-7700 actively exploited?
No confirmed active exploitation of CVE-2024-7700 as of 2026-09-25.
How do I remediate CVE-2024-7700?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2024-7700?
CVE-2024-7700 affects Theforeman Foreman.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Theforeman","product":"Foreman","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.