How a Shared Upload URL Let Me Take Over qaAccounts
A shared upload URL exposed in the UI acted as a capability token, letting any authenticated user who possessed it act with owner-level privileges on another account. An attacker could view API keys, rename projects, manage team members, upload files, and delete users and projects.
medium.com
Published on medium.com
I’m Abhishek Sharma — a security researcher and bug bounty hunter who hunts for authorization issues, IDORs, and capability-token mistakes in web applications. My work focuses on finding practical flaws that let attackers escalate privileges, leak secrets, or take over accounts, and I try to make every report as…
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 application treated possession of a UI-disclosed link or token as authorization instead of verifying the identity and permissions of the caller.
Impact
An attacker holding the URL could read API keys and configuration, upload files, rename projects, manage team members, and delete users or projects, amounting to full account takeover and possible compromise of integrated services.
What the attacker needed
Two accounts on the target; attacker obtains the shared upload URL; victim account exists
The fix
The server should verify the authenticated user's identity and permissions on every request instead of trusting possession of a URL, and presigned URLs should be short-lived, single-purpose, and validated on consumption.
How it was found
- Explore the Assets area and notice an upload endpoint or link shown in the UI.
- Create two accounts and use two separate browser sessions, Account A and Account B.
- In Account B, copy the upload or asset URL displayed by the UI.
- In Account A, reuse that same URL while logged in as Account A.
- Observe that the application accepts the request and grants owner-level access or associates the upload with Account B.
- Navigate to Environment and Project settings to read secrets, rename projects, and manage or delete users.
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 website gave out a special link for uploading files, and that link was treated like a password: anyone holding it could do everything the account owner could do. The researcher copied the link from one account and used it while logged into a different account, and the site let them in. This is dangerous because links can leak through browser history, logs, or shared screens.
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.