CVE-2024-7700: Command Injection
Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 22 Nov 2026, 21:14 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 6.5 |
|---|
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
AI-suggested
To mitigate CVE-2024-7700, organizations should immediately review and restrict access to the Foreman "Host Init Config" templates, ensuring only trusted administrators have privileges to modify registration scripts. Implement strict input validation and sanitization on the "Install Packages" field to neutralize special characters and command injection vectors. Enforce code review and approval processes for any changes to host registration templates. Educate users to carefully inspect generated registration scripts before execution, especially those sourced from Foreman. Where possible, run registration scripts with the least privilege necessary and in isolated environments to limit potential damage. Monitor logs for unusual command executions or modifications to registration templates. Stay alert for official patches or updates from Foreman and apply them promptly once available. Consider deploying application-layer firewalls or endpoint detection tools to detect anomalous command execution patterns related to host registration.
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.