A vulnerability was found in rubygem-safemode, used e.g. in Foreman. It has been found that user rendering a template (e.g. with edit_templates permission) can bypass safe mode limitations through a special ruby syntax. This can lead e.g. to deletion of objects for which the user does not have delete permissions or possibly to privilege escalation. Upstream bug: https://github.com/svenfuchs/safemode/pull/23 Foreman bug: http://projects.theforeman.org/issues/20271/
Acknowledgments: Name: Tomer Brisker (Red Hat)
Analysis: ruby193-rubygem-safemode shipped in Red Hat Ceph Storage 1.3 is in tech preview and would be used only when installing ceph with foreman installer. Installing ceph via ceph-deploy does not use ruby193-rubygem-safemode.