CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Theforeman

CVE-2024-7700
Theforeman Foreman vulnerability

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

Foreman. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Theforeman Foreman runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Theforeman products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.