HexBrain

Nextcloud · Report #1189168

Android app does not clear end to end encryption keys

Validstatus
lowseverity
$100bounty
14upvotes
16 Jun 2021disclosed

How it was found

  1. userA on serverA sets up end to end encryption on their android device
  2. userA has some end to end encrypted data
  3. userA removes their account on serverA from their android device (for whatever reason)
  4. attacker (evil admin) obtains the device of userA
  5. attacker (evil admin) logs in on the account of userA (reset the pw and just log in)
  6. attacker (evil admin) can see and access all encrypted files

Impact

While I believe the impact is minimal since you need to obtain the device of the victim. Once you remove your account all information regarding that account should be removed.

  • the keys
  • the mnemonic

And certainly when you re-add an account you should be asked to enter your mnemonic!

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original