Skip to content
IDOR Write-up Beginner

Alteryx Server IDOR Advisory

An authenticated user could access other users' profile pages, including administrative API keys, by changing MongoDB ObjectIDs in the profile endpoint request. This allowed an attacker to obtain high-privileged API keys and use them to access private workflows, perform administrative actions, and exfiltrate data.

medium.com

Published on medium.com

The bug was reported on July 12, 2024. Within 24 hours Alteryx confirmed that they had received the report.

Aleksa Zatezalo, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

The profile endpoint uses user-supplied MongoDB ObjectIDs to look up user and subscription records without verifying that the authenticated user owns those records.

Impact

An attacker could obtain API keys for high-privileged users, which could be used to access private workflows, perform administrative actions, and exfiltrate data via the Alteryx Server API.

What the attacker needed

Authenticated user account; access to a shared workflow to obtain IDs

The fix

The vulnerability was fixed in Alteryx Server and Client versions 2024 and above.

How it was found

  1. Obtain a target userID and subscriptionID from any workflow shared with you.
  2. Replace your own userID and subscriptionID with the victim's in the profile request.
  3. Send the request and receive a response containing the victim's Private Studio Keys and API Access Keys.

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 write-up has not been written yet. The Original tab links to the source.

When you log into a website, the site often uses a hidden identifier to fetch your data. If the site does not check that the identifier belongs to you, you can change it to someone else's and see their information. Here, changing two identifiers in a request let a normal user see other users' secret API keys, which are like passwords for programs.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.