Skip to content
IDOR Write-up Beginner

️ “The Audio File That Spoke Too Much: My Deep Dive into an S

An audio upload feature stored files in a publicly readable S3 bucket with predictable names, allowing anyone to access any user's audio by guessing the bucket name. The author demonstrated that by changing the bucket name from 'voice_voice' to 'voice1_voice1', they could play other users' recordings without authentication.

Narendar Battula Follow

Published on javascript.plainenglish.io

I logged into the application, coffee in hand, ready to begin my usual reconnaissance. Everything seemed straightforward — profile creation, ticket management, dashboards… the typical SaaS vibes.

Narendar Battula (nArEn), on javascript.plainenglish.io

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 S3 bucket was configured to allow public read access and used predictable bucket names, so changing the bucket name in the URL gave access to other users' files.

Impact

An attacker could enumerate and access audio recordings belonging to multiple users, potentially exposing sensitive conversations or personally identifiable information.

What the attacker needed

A free account; ability to upload audio; guessable bucket naming pattern

The fix

The bucket should be made private by default, access should be granted only through time-limited signed URLs, access control should be enforced in code, and object keys should be unpredictable (e.g., UUIDs).

How it was found

  1. Upload an audio file through the application's upload feature.
  2. Capture the request and note the returned URL containing the bucket name.
  3. Open the URL in an incognito browser window to confirm it is publicly accessible without authentication.
  4. Modify the bucket name in the URL (e.g., from 'voice_voice' to 'voice1_voice1') and load the new URL.
  5. Observe that another user's audio file plays, confirming the ability to enumerate and access other users' recordings.

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 upload a file to a website, it is often stored in cloud storage like Amazon S3. If that storage is left public and files are given easy-to-guess names, anyone can access other people's files by simply changing the name in the URL. This is called an insecure direct object reference (IDOR) combined with a storage misconfiguration.

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.

More by Narendar Battula

View all

7 more disclosed reports, best first.

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.