Lucene search

K
hackeroneRtodH1:1202590
HistoryMay 19, 2021 - 12:07 p.m.

Nextcloud: Webauthn tokens are not removed on user deletion

2021-05-1912:07:33
rtod
hackerone.com
114
nextcloud
webauthn
tokens
user deletion
unauthorized access
data cleanup
bugbounty

EPSS

0.003

Percentile

71.2%

  1. userA has an account on serverA
  2. userA enables passwordless login (webauthn) and registers a key/device
  3. userA is removed from the system
  4. a new user comes along and gets assigned userA as id
  5. the old userA tries to login with their key
  6. the old userA can see all data of the new userA

Impact

This can lead to an unauthorized actor gaining full access to the data of another user.
As suggested in https://hackerone.com/reports/1200700 a blocklist of old userids would help here. However the data should all be cleaned up as well of course!