CVE-2024-7700
MEDIUM 6.5CVSS 3.1Foreman: command injection in "host init config" template via "install packages" field on foreman
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.
- Published
- 12 Aug 2024
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Analyzed
- Weakness
- CWE-77
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | theforeman | foremancpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:* |
(no version) | |
| CVE List | https://github.com/theforeman/foreman | foreman | all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6 |
all versions |
References
- https://access.redhat.com/security/cve/CVE-2024-7700 · Third Party Advisory, Vendor Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2304090 · Issue Tracking, Third Party Advisory, issue-tracking, x_refsource_REDHAT
History
- 26 Nov 2026 21:05 UTC · CVE List: first stored (published 12 Aug 2024)
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 12 Aug 2024)