When sharing a Deck card in conversation the metaData can be manipulated to open arbitrary URL
When a Deck card is shared into a Talk conversation, the link inside the metaData field of the share request can be changed to any URL. An attacker could make the shared card point to an arbitrary site instead of the real card.
- Triaged in 6 days
- Fixed in 2 months
- Paid in 4 months
- Disclosed after 4 months
Summary by the program
Summary:
This report is similar to #1337178
In Nextcloud Deck a user can post their decks in to a conversation via nextcloud talk. The link in metaData can be manipulated to point to a another URL.
Steps To Reproduce:
- 0.) Setup burpsuite to proxy
- 1.) Go to Nextcloud Deck and pick a board
- 2.) Pick any cards, It will open a page on the Top Right there is a 3 dots ( toggle menu i think) Click it press
Post to a Conversation - 3.) Post the card to any conversation ( if you see nothing, Start a conversation to a seperate account)
- 4.) Go to burpsuite and find the request it should be like the request below
POST /ocs/v2.php/apps/spreed/api/v1/chat/9wdc7nta/share HTTP/2
{"objectType":"deck-card","objectId":"9","metaData":"{\"id\":\"9\",\"name\":\"Example Task 2\",\"boardname\":\"Personal\",\"stackname\":\"Doing\",\"link\":\"https://โฆ/apps/deck/#/board/4/card/9\"}","referenceId":"8c7a60c7d1d345a018286613f2faef73ecc596a3"}
- 5.) Send the request to repeater and modify the link and send the request
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
Root cause
Likely the server accepts the client-supplied link inside metaData without checking that it points to the real Deck card.
Impact
A shared card could link users to an arbitrary site instead of the real card.
What the attacker needed
A Nextcloud account; access to Deck and Talk; a proxy to edit requests
How it was found
- Set up a proxy to intercept traffic.
- Open a board in Deck and pick a card.
- Use the card menu to post it to a conversation.
- Post the card to a conversation.
- Find the share request in the proxy.
- Change the link in the request and resend it.
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 two apps: Deck, for task cards, and Talk, for chat. You can share a Deck card into a chat, and the chat shows a link back to that card. The report says the server trusts the link the sender supplies, so a user can swap it for a link to any website.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.