Vulnerability · Published Aug 12, 2024 · Assigned by redhat
CVE-2024-7700Foreman: command injection in "host init config" template via "install packages" field on foreman
Medium 6.5
In plain English
A medium-severity command injection in foreman. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| foreman | see references | |
| Red Hat | Red Hat Satellite 6 | see references |
Weakness: CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
References
- https://access.redhat.com/security/cve/CVE-2024-7700 vdb-entry, x_refsource_REDHAT
- RHBZ#2304090 issue-tracking, x_refsource_REDHAT