Bug 1064556 (CVE-2014-0078)

Summary: CVE-2014-0078 CFME: multiple authorization bypass vulnerabilities in CatalogController
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdunne, dajohnso, dclarizi, jfrey, jrafanie, jrusnack, kseifried, mpovolny, obarenbo, security-response-team, xlecauch
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: 2014-08-15 06:03:07 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: 1064559, 1064560    
Bug Blocks: 1064558, 1095075    

Description Kurt Seifried 2014-02-12 20:19:04 UTC
Jan Rusnacko of the Red Hat Product Security Team reports:

CFME fails to check if the current user is allowed to delete catalogs. Regular 
user with minimal privileges will not see Catalog menu, as role based check is 
performed in view (layouts/_page_header_navbar.html.haml):

45 -if role_allows(:feature => 'catalog',:any => true)
46 %li(class="#{secondary_nav_class('catalogs')}")
47 %a{:href=>'/catalog/explorer'}Catalogs

In the context of running application:

(rdb:1) User.current_user.name
"testuser1"
(rdb:1) role_allows(:feature => 'catalog',:any => true)
false

By POSTing a request and going through catalog IDs sequentially an attacker
can delete all catalogs.

Comment 3 Kurt Seifried 2014-02-20 18:52:36 UTC
Acknowledgements:

This issue was discovered by Jan Rusnacko of the Red Hat Product Security Team.

Comment 6 errata-xmlrpc 2014-05-12 18:13:18 UTC
This issue has been addressed in following products:

  CloudForms Management Engine 5.x

Via RHSA-2014:0469 https://rhn.redhat.com/errata/RHSA-2014-0469.html