Unexpected federated shares added via public link
When a user clicks 'add to your Nextcloud' on a public link share, a federated share is created on the link owner's account without any notification or description of its origin. The owner sees an unexplained federated share appear, which the reporter argues undermines trust in the system.
- Disclosed after 8 days
So I'm not 100% sure if this is an security issue or not. But it is in my opinion at least unexpected and could be handled better to make sure people trust the system.
- Get a public link share (again plenty of those around)
- Click the 'add to your Nextcloud'
- A federated share is added/created
However now the owner of the public link at 1 has a new federated share added. Without any idea where it comes from. Which would be reason for concern in my book. Esp for people that do not know about the functionality etc.
Impact
Missing descriptions or notifications can limit the trust in the system. Esp for regular users without technical knowledge on how things work. I'd expect a notification. Or at the very least a description in the sharing tab (? is that the correct name?) for the federated share 'mounted from public link X'
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 'add to your Nextcloud' action creates a federated share on the link owner's side without sending a notification or recording where the share came from.
Impact
The owner of a public link may see an unexplained federated share appear, which could reduce trust in the system, especially for non-technical users.
What the attacker needed
A public link share exists; a Nextcloud account to add the share
How it was found
- Obtain a public link share.
- Click the 'add to your Nextcloud' button on that share.
- Observe that a federated share is created.
- Check the link owner's account and see the new federated share with no explanation of its origin.
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 lets people share files with a public link, and other Nextcloud users can add that link to their own account so it shows up like a normal shared folder. The problem is that the person who made the link is not told when this happens, so a new shared folder appears in their account with no explanation. The reporter thinks this is confusing and could make people distrust the service.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.