A flaw was found in foreman before version 1.15 in the logging of adding and registering images. An attacker with access to the foreman log file would be able to view passwords for provisioned systems in the log file, allowing them to access those systems.
https://projects.theforeman.org/issues/19169
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2672