Writeup — The Gate of Broken Names (Satellite Notes —�
The notes API returned any note by numeric id to any logged-in user without checking ownership or privacy, so a private note holding the flag could be read. An attacker could register, log in, and enumerate note ids to recover the flag and any other private notes.
The application seeded a private note containing the flag on startup, and the API allowed any authenticated user to read any note by numeric id without checking ownership or privacy. By registering a user, logging in, and requesting GET /api/notes/<id> for the generated id range we could retrieve the private note and…
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 notes-by-id endpoint checked authentication but not whether the caller owned the note or whether it was public.
Impact
Any authenticated user could read any private note, including the one holding the flag.
What the attacker needed
A free account; the app seeds notes with sequential ids
The fix
The notes endpoint should enforce ownership and privacy checks before returning a note.
How it was found
- Register a new account through the auth API.
- Log in and keep the session cookies for later requests.
- Request notes by sequential numeric id and look for one whose content is the flag.
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 notes app lets each user keep notes, some marked private. The server checked that you were logged in but never checked that the note belonged to you, so anyone with an account could ask for note number 1, 2, 3 and so on and read other people's private notes.
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.