Cards in Deck are readable by any user
The Deck app's API returned the contents of a board's stack, including its cards, to any authenticated user who requested it, without checking whether that user had access to the board. An attacker with a low-privileged account could read other users' card titles and details.
Originally disclosed on HackerOne
- Triaged in 2 days
- Fixed in 8 days
- Paid in 7 days
- Disclosed after 19 months
Summary by the program
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-2x96-38qg-3m72
The report
Summary:
Allows any user access to sensitive deck card contents.
Steps To Reproduce:
- User creates a new "deck" and "stack".
- Create another user on your Nextcloud instance.
- curl -X GET -H "OCS-APIREQUEST: true" "http://localhost/index.php/apps/deck/api/v1.0/boards/1/stacks/1" -u hacker
As an output you get things like for example {title":"To do",,"cards":[{"title":"Example Task 3","}
Impact
Allows any user access to sensitive deck card contents.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
What the attacker needed
A free account on the instance; another user's board and stack exist
How it was found
- Create a deck and a stack in it.
- Create a second user account on the same instance.
- As the second user, request the stack through the Deck API.
- Observe the card titles and details in the response.
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 report has not been written yet. The Original tab links to the source.
Nextcloud has an app called Deck that works like a kanban board, with boards, stacks and cards. The server is supposed to check that you own or can see a board before showing its cards, but here it skipped that check. So any logged-in user could ask for someone else's stack by its number and get the cards back.
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.