Security Resilience

CVE-2024-7700

Command Injection in Theforeman Foreman

Published
12 August 2024
Modified
16 September 2024
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0078 57th percentile
Risk Priority 50 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-7700 is a medium-severity Command Injection (CWE-77) vulnerability in Theforeman Foreman. Its CVSS base score is 6.5 (Medium).

Operationally, ranked in the top 43% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-13316Same product: Theforeman Foreman
CVE-2023-0462Same product: Theforeman Foreman
CVE-2023-4886Same product: Theforeman Foreman
CVE-2026-9073Same product: Theforeman Foreman
CVE-2026-12112Same product: Theforeman Foreman
CVE-2026-5135Same product: Theforeman Foreman
CVE-2026-5142Same product: Theforeman Foreman
CVE-2026-12544Same product: Theforeman Foreman
CVE-2026-12540Same product: Theforeman Foreman
CVE-2023-0118Same product: Theforeman Foreman

Affected Assets

theforeman
foreman
all versions

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover command-construction flaws before deployment.

Input validation directly stops construction of commands from untrusted data containing special elements.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches command-injection vulnerabilities before release.

prevents

Secure coding standards require proper escaping and parameterization of commands, directly eliminating CWE-77.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References