Project

General

Profile

Actions

Bug #15268

closed

CVE-2016-4475 - API and UI org/locations actions not limited to user's associated orgs/locations

Added by Dominic Cleal over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Security
Target version:
Fixed in Releases:
Found in Releases:

Description

A number of API and UI actions/URLs for viewing and managing organisations and locations are not limited to the orgs/locations assigned directly to the user, instead they are only restricted by permissions assigned to the user's roles.

  • API index calls: GET /api/v2/organizations, GET /api/v2/locations
  • API show/update/destroy calls
  • UI edit/update/destroy calls

The UI index for orgs/locations and the UI org/location switcher appears to be the only place where the user's associated orgs/locations are taken into account.

Both UI and API controllers should be overriding methods for resource scopes to limit them further to the Organization.my_organizations/Location.my_locations scopes.

Mitigation: ensure all org/location related permissions assigned to a user are restricted to certain orgs/locations, these should still be taken into account.

Thanks to Ivan Necas for reporting this to .


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #10022: Taxonomies related issuesNew04/05/2015

Actions
Actions #1

Updated by Marek Hulán over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Marek Hulán
Actions #2

Updated by Marek Hulán over 8 years ago

Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3568 added
Actions #4

Updated by Dominic Cleal over 8 years ago

  • Subject changed from API and UI org/locations actions not limited to user's associated orgs/locations to CVE-2016-4475 - API and UI org/locations actions not limited to user's associated orgs/locations
Actions #5

Updated by Bryan Kearney over 8 years ago

  • Bugzilla link set to 1342665
Actions #6

Updated by The Foreman Bot over 8 years ago

  • Pull request https://github.com/Katello/katello/pull/6129 added
Actions #7

Updated by Dominic Cleal over 8 years ago

  • Translation missing: en.field_release changed from 159 to 169
Actions #8

Updated by Marek Hulán over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF