Simple IDOR — Ketika Pengguna Tidak Sah Bisa Melihat Tugas Orang Lain
A task management application checked only whether a task ID existed, not whether the requesting user owned it. By changing the numeric ID in the task detail URL, an ordinary user could view other users' tasks, including titles, descriptions, deadlines, comments and attachments.
Published on medium.com
Saat menguji sebuah aplikasi manajemen tugas melalui program bug bounty self-hosted, saya menemukan celah IDOR (Insecure Direct Object Reference). Normalnya, pengguna hanya boleh melihat tugas yang ditugaskan kepada mereka — namun dengan mengganti ID pada URL /task/detail/{id}, seorang pengguna biasa bisa melihat…
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 server only confirmed the requested task ID existed and never verified that the task belonged to the requesting user.
Impact
Internal task data such as titles, descriptions, deadlines, comments and attachments could be exposed, with potential PII leakage and compliance issues, and the text rates severity as medium to high.
What the attacker needed
A free account; victim's task ID is guessable
The fix
The server should enforce object-level authorisation on every endpoint, returning 403 Forbidden when the requester does not own the object, and log ID enumeration attempts.
How it was found
- Log in with an ordinary employee account.
- Open a task detail page belonging to that account.
- Change the numeric ID in the URL to a different value.
- Observe that the application displays another user's task details.
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.
Every task has a number in its web address. The site showed any task whose number you typed, without checking that the task belonged to you. So changing one digit let a normal user read someone else's to-do item, including its notes and files.
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.