External Storage - WebDAV - New user has access to storage from deleted user (same user-ID)
When a user account is deleted and a new account is created with the same user-ID, the new user has access to the external WebDAV storage configured for the deleted account.
- Triaged in 15 hours
- Fixed in 10 months
- Paid in 16 months
- Disclosed after 22 months
- Delete existing user account "user3"
- Create new user account "user3"
Also reported on https://github.com/nextcloud/server/issues/15258
Impact
Newly created user with same user-id of a deleted user has access to the configured external webdav storage from the deleted user.
Attachments



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
Ability to delete and recreate accounts; external WebDAV storage configured for the old account
How it was found
- Delete the existing user account with the name user3.
- Create a new user account with the same name user3.
- Observe that the new account can access the external WebDAV storage configured for the deleted account.
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.
A user-ID is the short name that identifies an account. The report says that if an account is deleted and a new account is later given the same name, the new account still sees the external storage that belonged to the old one. That means data meant for one person can be seen by someone else who happens to get that name.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.