Bug 1092354 (CVE-2014-0192)

Summary: CVE-2014-0192 Foreman: provisioning templates are world accessible
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, aortega, apevec, athomas, ayoung, bkearney, chrisw, cpelland, dcleal, gkotton, jrusnack, katello-bugs, kseifried, lhh, markmc, mmccune, rbryant, rhos-maint, sclewis, tjay, yeylon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-20 05:29:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1092832    
Bug Blocks: 1092357    

Description Kurt Seifried 2014-04-29 07:07:51 UTC
Ohad Levy of Red Hat reports:

since 1e0fd283 it is possible to override spoof by providing a hostname parameters.

this would allow to retrieve any template of any host bypassing authentication.

External references:
http://projects.theforeman.org/issues/5436
http://projects.theforeman.org/projects/foreman/repository/revisions/1e0fd283180dc6bda30c880898cdea69cb579194

Fixed in:
https://github.com/theforeman/foreman/pull/1404
https://github.com/theforeman/foreman/commit/aa0ebe8

Comment 1 Dominic Cleal 2014-04-29 07:57:56 UTC
http://theforeman.org/security.html updated with statement.