CVE-2016-4995: Infoleak
Dominic Cleal of Red Hat reports:
Users who are logged in with permissions to view some hosts are able to preview provisioning templates for any host by specifying its hostname in the URL, as the specific viewhosts permissions and filters aren't checked. If the organization or location features are enabled, the user will still be restricted to their associated orgs/locs.
This can disclose configuration information about the host, including root password hashes if used in preseed/kickstart templates.
Upstream bug:
http://projects.theforeman.org/issues/15490
Proposed patch:
https://github.com/theforeman/foreman/pull/2428
Other sources
Foreman before 1.11.4 and 1.12.x before 1.12.1 does not properly restrict access to preview provisioning templates, which allows remote authenticated users with permission to view some hosts to obtain sensitive host configuration information via a URL with a hostname.
— MITRE
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2016-4995?
CVE-2016-4995 has a medium severity level due to unauthorized access to provisioning templates.
How do I fix CVE-2016-4995?
To fix CVE-2016-4995, upgrade to Foreman versions higher than 1.11.4 or 1.12.1 as appropriate.
Who is affected by CVE-2016-4995?
Users of Foreman versions 1.11.0 to 1.11.4 and 1.12.0 to 1.12.1 are affected by CVE-2016-4995.
What type of vulnerability is CVE-2016-4995?
CVE-2016-4995 is a security vulnerability caused by insufficient permission checks for provisioning templates.
Can logged-in users exploit CVE-2016-4995?
Yes, logged-in users with view permissions can exploit CVE-2016-4995 to access provisioning templates for any host.