Skip to content
IDOR Write-up Beginner

How a Simple IDOR Bug in Dubsmash’s API Could’ve Let Anyone M

The Dubsmash API's UpdateSound endpoint did not verify that the requesting user owned the audio clip being edited. An attacker who knew another user's audio clip ID could change its name, metadata, or reassign ownership.

Aryansaha Follow

Published on medium.com

Sometimes, the biggest vulnerabilities come from the simplest oversights. That’s exactly what happened with Reddit-owned Dubsmash when a bug bounty researcher uncovered a major IDOR flaw hiding in plain sight.

Aryansaha, 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 missing authorization checks on the UpdateSound endpoint, so the server trusted the client-supplied audio clip ID without confirming ownership.

Impact

An attacker could hijack trending content, tamper with creators' work, or inject spam or malicious content into public media.

What the attacker needed

Knowledge of another user's audio clip ID; ability to intercept and modify API requests

The fix

The issue was acknowledged and patched after being reported through Reddit's bug bounty program.

How it was found

  1. Intercept a request to the UpdateSound endpoint.
  2. Modify the request payload to reference another user's audio clip ID.
  3. Submit the modified request to change that clip's details or ownership.

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.

An IDOR (Insecure Direct Object Reference) happens when a website lets you access or change something just by changing an identifier, like a number in a request, without checking that it belongs to you. Here, the API accepted edits to any audio clip if you knew its ID, so someone could tamper with other people's content.

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.