How a Simple Bookmark Earned a Two-Digit € Bug Bounty
The bookmark API lacked object-level authorization, so one user could manipulate another user's bookmarks by replaying requests with the same object ID. An attacker could duplicate, alter visibility, or cause inconsistencies in another user's bookmark list.
medium.com
Published on medium.com
While casually navigating a web application in bug bounty program, I noticed a feature that allowed users to bookmark content — such as articles, threads, or posts — for easy access later.
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 API trusted client-supplied object IDs and did not verify that the requesting user owned the bookmark before allowing create, update, or delete actions.
Impact
The issue could be abused to pollute other users' bookmark lists, create impersonation patterns, and cause an inconsistent user experience, but it did not allow account takeover or data exfiltration.
What the attacker needed
Two user accounts; ability to intercept and replay API requests
The fix
The API was patched by enforcing proper session-based authorization checks on bookmark-related actions.
How it was found
- User A bookmarked a post.
- User B inspected the network activity and replayed the same POST /api/bookmark call, using the same object_id but with their own session.
- User B’s action affected User A’s bookmarks.
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 bookmark feature lets you save posts for later. The server did not check that the bookmark belonged to the person making the request, so anyone could change someone else's bookmarks by guessing or reusing an ID. This is called broken object-level authorization, or BOLA.
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.