We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-7700

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



Assignerredhat
Reserved2024-08-12
Published2024-08-12
Updated2024-09-17

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.



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

Problem types

Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

Default status
0x40036a9ba0

Timeline

2024-08-12:Reported to Red Hat.
2024-08-12:Made public.

Credits

Red Hat would like to thank Markus Reisner (ATIX AG) for reporting this issue.

References

https://access.redhat.com/security/cve/CVE-2024-7700 vdb-entry

https://bugzilla.redhat.com/show_bug.cgi?id=2304090 (RHBZ#2304090) issue-tracking

cve.org CVE-2024-7700

nvd.nist.gov CVE-2024-7700

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-7700
Subscribe to our newsletter to learn more about our work.