Project

General

Profile

Actions

Bug #15182

closed

CVE-2016-4451 - Privileges escalation through Organization and Locations API

Added by Marek Hulán almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We set current org/loc for user in before filter blindly without any association check [2][3]. As a user I'd expect 404 (bug fixed by #3549) but I get the list of resources from org I've chosen even though I'm not associated to it.

Note that this is possible because users have by default viewer_role allowing to view all data regardless of organization. If user would have all filters associated to org 1 only he/she wouldn't see resource from org 2.

[2]https://github.com/theforeman/foreman/blob/develop/app/controllers/concerns/api/taxonomy_scope.rb#L11
[3]https://github.com/theforeman/foreman/blob/develop/app/controllers/concerns/api/taxonomy_scope.rb#L14


Related issues 2 (1 open1 closed)

Related to Foreman - Bug #2524: Taxonomy scope API parameters not documentedClosedTomáš Strachota05/21/2013Actions
Related to Foreman - Tracker #10022: Taxonomies related issuesNew04/05/2015

Actions
Actions #1

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #2524: Taxonomy scope API parameters not documented added
Actions #2

Updated by Marek Hulán almost 8 years ago

  • Status changed from New to Assigned

present probably since 1.7

Actions #3

Updated by Marek Hulán almost 8 years ago

Actions #4

Updated by The Foreman Bot almost 8 years ago

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

Updated by Marek Hulán almost 8 years ago

  • Subject changed from Privileges escalation through Organization and Locations API to CVE-2016-4451 - Privileges escalation through Organization and Locations API
Actions #6

Updated by Marek Hulán almost 8 years ago

  • Bugzilla link set to 1340107
Actions #7

Updated by Marek Hulán almost 8 years ago

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

Also available in: Atom PDF