Nextcloud · Report #1189168
Android app does not clear end to end encryption keys
Validstatus
lowseverity
$100bounty
14upvotes
16 Jun 2021disclosed
How it was found
- userA on serverA sets up end to end encryption on their android device
- userA has some end to end encrypted data
- userA removes their account on serverA from their android device (for whatever reason)
- attacker (evil admin) obtains the device of userA
- attacker (evil admin) logs in on the account of userA (reset the pw and just log in)
- 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!