CVE-2024-7700
CVE-2024-7700 is a medium-severity vulnerability in Theforeman Foreman with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 1% (52nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-48583
- Weakness: CWE-77
- Affected product: Theforeman Foreman
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-7700?
- 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.
- How severe is CVE-2024-7700?
- CVE-2024-7700 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over local access with low attack complexity, requires high privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-7700 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-7700?
- CVE-2024-7700 affects Theforeman Foreman. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-7700?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-7700 have an EU (EUVD) identifier?
- Yes. CVE-2024-7700 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-48583.
- When was CVE-2024-7700 published?
- CVE-2024-7700 was published on 2024-08-12 and last updated on 2026-06-17.
References
- https://access.redhat.com/security/cve/CVE-2024-7700
- https://bugzilla.redhat.com/show_bug.cgi?id=2304090
Affected products (1)
- cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*
More vulnerabilities in Theforeman Foreman
- CVE-2018-14643 — Critical (CVSS 9.8): An authentication bypass flaw was found in the smart_proxy_dynflow component used by Foreman. A malicious attacker can…
- CVE-2023-0118 — Critical (CVSS 9.1): An arbitrary code execution flaw was found in Foreman. This flaw allows an admin user to bypass safe mode in templates…
- CVE-2021-3590 — High (CVSS 8.8): A flaw was found in Foreman project. A credential leak was identified which will expose Azure Compute Profile password…
- CVE-2018-1097 — High (CVSS 8.8): A flaw was found in foreman before 1.16.1. The issue allows users with limited permissions for powering oVirt/RHV hosts…
- CVE-2017-7505 — High (CVSS 8.8): Foreman since version 1.5 is vulnerable to an incorrect authorization check due to which users with user management…
- CVE-2016-4475 — High (CVSS 8.8): The (1) Organization and (2) Locations APIs and UIs in Foreman before 1.11.4 and 1.12.x before 1.12.0-RC3 allow remote…
All CVEs affecting Theforeman Foreman →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…