mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #424] /data directory is exposed #248
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#248
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/424
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.