Skip to content
IDOR Disclosed report Beginner CVE-2021-39225

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.

shakierbellows Follow

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:

  1. User creates a new "deck" and "stack".
  2. Create another user on your Nextcloud instance.
  3. 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.

The original report as published on HackerOne, by shakierbellows. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Create a deck and a stack in it.
  2. Create a second user account on the same instance.
  3. As the second user, request the stack through the Deck API.
  4. 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.

More by shakierbellows

View all

1 more disclosed report, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.