← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1901207] Re: Application credentials of other users can be deleted when knowing the ID

 

** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1901207

Title:
  Application credentials of other users can be deleted when knowing the
  ID

Status in OpenStack Identity (keystone):
  Fix Released
Status in OpenStack Security Advisory:
  Won't Fix

Bug description:
  Intro
  -----
  While performing a penetration test on a new OpenStack install of version Train, we found a vulnerability that could lead to a Denial of Service condition. Using an installation of DevStack we verified that the issue is still present.

  Description
  -----------
  In the test situation we had two, separate, projects, each with their own user. Users were only authorised for their own project, not for the other's project.

  After creating an application credential for user A, we were able to
  delete that credential with user B by issuing the OpenStack
  application credential delete command with the credential ID as
  parameter.

  Apparently, there is no authorisation check on the delete (and show)
  action and anyone who knows the credential ID can remove it,
  potentially creating a Denial of Service attack on the affected
  project.

  Precondition
  ------------
  - Logged in user (user B)
  - Knowing the ID of an application credential of another user (user A)

  Discovered on October 8, 2020 by Arjen Zijlstra (az@xxxxxxxxxx) and
  Arthur Donkers (arthur@xxxxxxxxxx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1901207/+subscriptions