Skip to content
Access control Disclosed report Intermediate

Broken Access Control Issue.

A user with only create permission on access roles could read the details of access roles, including ones they did not create, without having read permission. This exposed access control configuration that should have been restricted.

Akeyless

Originally disclosed on Bugcrowd

Informational View original
  • Accepted in 12 days
  • Disclosed after 11 days

Summary by jeetbhdr

Create user have Read acess for Access role .

Report details

  • Submitted

    30 Dec 2021 14:35:53 UTC

  • Target Location

    https://console.akeyless.io/ - Akeyless Application

  • Target category

    Web App

  • VRT

    Broken Access Control (BAC)

  • Priority

    P5

  • Bug URL

    https://console.akeyless.io/access-roles

  • Description

    Summary : I have found an access control issue. The issue is that a user with only Create Permission can read the Access Control details which is not possible In case of Secrets & Keys and Auth Methods.

    Steps to Reproduce : a. From the admin account create a New Auth Method using Api key From this endpoint "https://console.akeyless.io/auth-methods" .

    b.Fill it up with your preferred name and location should be /dev and click save.

    After filling up Save that access id and access key in a clipboard.

    c.Now go to Access Role and Create a new Role name the role anything but the location should be /dev/ and click save.

    d.On that Access role add Associate Auth Method and select the auth method and save it.

    e.Below the Associate Auth Method you will see Secret & Key , Access Control , Auth method . f.Click on each of them and Tick Add Recursively and Select the Create option for all three of them and add.

    The process of creating sub admin is documented in this endpoint "https://docs.akeyless.io/docs/sub-admins"

    g.Now from another browser or in incognito tab login using that access id and access key. h.Here you can create a secret key but you can't view it , you can create a auth method you can't view but when you create a access role you can view that access role and other access role without having read permission.

    I have posted a full POC video so that you can reproduce easily . Thank you for looking into my report . I wish you very Happy New Year.

The original report as published on Bugcrowd, by jeetbhdr. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the access role read endpoint did not check for read permission, only that the user had some permission on access roles.

What the attacker needed

Admin creates limited user with create-only permission; attacker has access id and key for limited user

How it was found

  1. As admin, create an API key auth method in /dev and save the access id and key.
  2. Create an access role in /dev and associate the auth method with it.
  3. Grant create permission recursively for secrets, access control, and auth methods.
  4. Log in with the limited access id and key in a separate browser.
  5. Create an access role and observe that its details, and other roles, are visible without read permission.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Access control means deciding who is allowed to see or change what. Here, a limited user was supposed to be able to create access roles but not view them, yet the application still showed the role details. That let the user see information they were not meant to see.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.