Skip to main content
VulnerabilityPublished Updated

CVE-2024-7700: Command Injection

Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium.

Data as of 22 Nov 2026, 21:14 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.16.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

References

Community reviews

Loading reviews…