-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security concern/risk: Keepassium requests too many privileges (full access) in OneDrive #285
Comments
Thank you for the feedback. Let's review all the available ReadWrite OneDrive API permissions.
The most secure alternative is to use OneDrive via Files app. The stability of this approach depends on OneDrive which had issues lately (#256). And this is completely impossible in a corporate environment where OneDrive applies Intune's data protection policies. I am all open for suggestions… |
I guess this is settled, then. |
Hi, I hope that it's OK to comment on this issue again. As a user with a database on a personal OneDrive account, I would strongly favor It's a shame that this does not cover the corporate use-case. However, I am sure that there is a substantial user base with KBDX files on personal OneDrives. Windows 11 is tightly integrated with OneDrive and I expect that a substantial portion of Windows Keypass users with iPhones will have the same needs. Shall we re-open this issue? I'm also happy to create a new issue. |
@cedricdonie , I would assume most OneDrive Personal users just don't care… And if There is also an idea (to be confirmed) how to limit the requested permissions for everyone, so yes, let's reopen. |
It might be correct that (sadly) most personal users just don't care. Then again, a lot of KeePassium users will be security-conscious and would not give any app access to all their documents which is a substantial risk for a breach.
As an "advanced" or even somewhat hidden option would be fine for me. It didn't take long to find this GitHub issue via Google and I am sure that other users would also find it.
That sounds great 👍. I would be fine with either limiting access to a single file or limiting access to a single folder (and optionally, subfolders recursively). |
Are there any updates on this? I've just migrated KeePass from DropBox to OneDrive and encountered this issue as well. I am on a Microsoft 365 Family Plan. Not really sure which type of OneDrive "subscription" this is, but I'd say "Personal". I don't use shared folders, neither any business use-cases. I'd really like to see a file only or folder only permission system or I might have to switch Cloud Provider (or App) again. Thanks. |
What can be improved?
I was shocked when Mircosoft Authenticator showed this when I was adding OneDrive server connection:
This is an immediate red flag and a major security concern due to potential damage in case of a breach.
For its functionality KeePassium really only needs read, create, update and delete access on selected folder(s), where it can read/update the password database file and create/delete backups. There is absolutely no need to allow the app read, create, update and delete all OneDrive files.
The solution you'd like
According to OneDirve API Docs a
Files.ReadWrite.AppFolder
privilege exists. Please use (or allow to choose) this option. Or find another way to downgrade the access privileges to folder level in order to enforce damage control in case of a breach.Alternatives you've considered
Alternative solution is not to use Keepassium. We do not want this alternative.
The text was updated successfully, but these errors were encountered: