CVE-2024-7700 MEDIUM

CVE-2024-7700: Foreman: command injection in "host init config" template via "install packages" field on foreman

Vendor Red Hat
Product Red Hat Satellite 6
Weakness CWE-77
Published August 12, 2024
Last update November 20, 2025

CVSS base score

6.5/10
Attack vector Local
Attack complexity Low
Privileges required High
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 12, 2024 CVE published
November 20, 2025 Record updated