Skip to content
Access control Write-up Beginner

Unauthorized access to any presentation at Dropbox

A live presentation session was protected only by a 6-digit code, and the server returned a 200 status for both correct and incorrect codes, with a JSON field indicating success. An attacker could brute-force the code to gain unauthorised access to any live session.

0xRaccoon Follow

Published on medium.com

While i was testing i found a domain in the scope (docsend.com), When i entered this domain and discovering the functions in this domain. I found that you can create organization and i invite people in this organization.

Raccoon, 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

Likely the application used a short 6-digit code as the only access control and did not rate-limit or lock out repeated attempts, while also returning a consistent HTTP status that required inspecting the response body to distinguish success.

Impact

An attacker could gain unauthorised access to any live session by brute-forcing the 6-digit code.

What the attacker needed

Ability to create an organisation; ability to create a live session; ability to send many requests

The fix

The report states the bug was fixed, but does not describe the fix; it should be fixed by rate-limiting or locking out repeated code attempts and using a longer, unpredictable code.

How it was found

  1. Create an organisation and invite people to it.
  2. Create a live presentation or session and set a 6-digit access code.
  3. Intercept the request that checks the code.
  4. Send the request to an intruder tool with a list of all 6-digit codes.
  5. Filter responses by the JSON body to exclude those containing a false success value.
  6. Use the remaining valid code to access the live presentation.

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.

A live presentation was locked with a short numeric code. The website did not limit how many guesses someone could make, and it always replied with the same status code, so a script could try every possible code until it found the right one. That let anyone watch a private session.

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.