Skip to content
Access control Write-up Beginner

Broken Access Control: How a Single Parameter Allowed Unauthorize

The endpoint that provisions cloud AI user accounts accepted a client-supplied identifier without verifying that it belonged to the authenticated session or was server-issued. An attacker could create accounts under arbitrary identifiers and later reuse them to regain access, bypassing the platform's authorization model.

Theankitsaini16 Follow

Published on medium.com

While conducting security testing on a SaaS cloud platform, I came across an interesting authorization flaw that allowed any unauthenticated or low-privileged user to create and persistently control cloud-based AI user accounts simply by manipulating a single URL parameter.

Theankitsaini16, 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 server trusted a client-supplied identifier during account creation without verifying that it was server-issued or bound to the authenticated session.

Impact

Any unauthenticated or low-privileged user could create cloud AI user accounts at will and retain persistent control over them, potentially consuming backend resources and enabling further abuse such as denial-of-wallet or pivoting to linked services.

What the attacker needed

Access to the provisioning endpoint; ability to intercept HTTP requests

The fix

The server should generate identifiers itself, bind resources to authenticated sessions, and enforce authorization on every request rather than trusting client-supplied IDs.

How it was found

  1. Log in with a test account and observe the legitimate request to the provisioning endpoint containing a server-issued UUID.
  2. Intercept the request with a proxy and replace the UUID with an arbitrary string.
  3. Forward the request; the server responds successfully and provisions a new account under the attacker-chosen identifier.
  4. Replay requests using the same arbitrary string to regain access to the previously created account.

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 sign up for a service, the server usually creates a unique ID for your account and checks that you own it before letting you do anything. Here, the server let the user pick their own ID and never checked whether it was legitimate, so anyone could make accounts with made-up IDs and keep using them later.

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.

More by Theankitsaini16

View all

1 more disclosed report, best first.

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.