mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 05:34:10 +03:00
/data directory is exposed #247
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @carlchan on GitHub (Mar 6, 2019).
Looks like the default rocket config exposes the /data directory, allowing download of the db.sqlite3 password database. While everything in it is encrypted, that doesn't seem like a good idea.
reproduce via going directly to
https://bitwarden_rs.domain/data/db.sqlite3
@mprasil commented on GitHub (Mar 6, 2019):
There must be something else at play here.
bitwarden_rsserves static files fromweb-vaultsub-directory by default. I can't reproduce the issue personally, can you maybe provide some steps to reproduce?@carlchan commented on GitHub (Mar 6, 2019):
Hmm. I just have a mostly default config, with web-vault enabled (instaleld using pre-compiled version)
here's the relevant log from cargo:
@mprasil commented on GitHub (Mar 6, 2019):
This is what I get when trying the same:
Do you have your data folder somewhere inside your
web-vaultfolder by any chance?@carlchan commented on GitHub (Mar 6, 2019):
huh. you're right! how did that get there??
Yes that would be it, sorry, thank you.