{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-7700","id":"CVE-2024-7700","title":"Foreman: command injection in \"host init config\" template via \"install packages\" field on foreman","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 ex","descriptionLong":"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":"2024-08-12T16:48:54.120Z","updated":"2026-06-17T08:20:45.203Z","reserved":"2024-08-12T10:57:20.394Z","status":"Analyzed","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"redhat"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"redhat"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"redhat.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["foreman","Red Hat Satellite 6"],"affectedProducts":[{"vendor":"","product":"foreman","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-77"],"aliases":[],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-7700","tags":["vdb-entry","x_refsource_REDHAT","Third Party Advisory","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2304090","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00783,"epssPercentile":0.56804,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-7700","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7700","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-7700","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-7700","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}