Skip to content
Info disclosure Disclosed report Intermediate

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.

sanmue Follow

Originally disclosed on HackerOne

  • 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

oc_external_mounts.png
oc_external_mounts.png From the original on HackerOne
oc_external_config.png
oc_external_config.png
user3_external-storage-config.png
user3_external-storage-config.png

The original report as published on HackerOne, by sanmue. 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

Ability to delete and recreate accounts; external WebDAV storage configured for the old account

How it was found

  1. Delete the existing user account with the name user3.
  2. Create a new user account with the same name user3.
  3. 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.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.