Project

General

Profile

Actions

Bug #6777

open

CVE-2014-8183 - Models with a 'belongs_to' association to an Organization do not verify association belongs to that Organization

Added by Eric Helms over 9 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Organizations and Locations
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

While this affects more models in Katello where every model must be silo'd within an Organization, this problem arises in Foreman as well. Thus, a general use validator that lives in Foreman would be the ideal solution.

Foreman Case:
1. Ensure you have a host and a smart proxy
2. Assign host to organization 'Org A'
3. Assign smart proxy ONLY to organization 'Org B'
4. Ensure 'Org A' does not have any smart proxies
5. Note that UI will not present options to set the Puppet CA for the host on the edit screen
6. Via the API:
PUT to /api/v2/hosts/1 { 'puppet_proxy_id': 1 } (the ID of the smart proxy in 'Org B')
7. Smart proxy that is only in 'Org B' will be assigned to host in 'Org A'

Katello Example:
1. Create Product in 'Org A'
2. Create GPG Key in 'Org B'
3. Via the API:
PUT to /katello/api/v2/products/1 - { 'gpg_key_id': 1} (the ID of the gpg key)
7. Gpg Key from another organization can be assigned to product

Actions #1

Updated by Dominic Cleal over 9 years ago

  • Category set to Organizations and Locations
Actions #2

Updated by Eric Helms over 9 years ago

  • Bugzilla link set to 1126838
Actions #3

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.7.5
  • Pull request https://github.com/theforeman/foreman/pull/1654 added
  • Pull request deleted ()
Actions #4

Updated by Anonymous over 9 years ago

  • Target version changed from 1.7.5 to 1.7.4
Actions #5

Updated by Anonymous over 9 years ago

  • Target version changed from 1.7.4 to 1.7.3
Actions #6

Updated by Dominic Cleal over 9 years ago

  • Target version changed from 1.7.3 to 1.7.2
Actions #7

Updated by Tomer Brisker about 8 years ago

  • Status changed from Ready For Testing to New
Actions #8

Updated by Tomer Brisker over 6 years ago

  • Subject changed from Models with a 'belongs_to' association to an Organization do not verify association belongs to that Organization to CVE-2014-8183 - Models with a 'belongs_to' association to an Organization do not verify association belongs to that Organization
Actions #9

Updated by Tomer Brisker over 5 years ago

  • Target version deleted (1.7.2)
Actions

Also available in: Atom PDF