RocketChat / RocketChat/Rocket.Chat.ReactNative
[Security] Sensitive data stored in unencrypted database
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Description:
We have own white label app version based on single-server branch. After our security tests was noticed that Android application uses database to store messages inside server-name-experimental.db.db and this file is unencrypted and sensitive data can be accessed. Did you consider to encrypt this database?
Environment Information:
- Rocket.Chat Server Version: 3.6.3
- Rocket.Chat App Version: 4.11
- Device Name: All
- OS Version: Android
Steps to reproduce:
- Embedded server-name-experimental.db.db is unencrypted
Expected behavior:
Consider to encrypt this database
Actual behavior:
Embedded server-name-experimental.db.db is unencrypted
Additional context:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Android app's handling of the embedded server-name-experimental.db.db database and determine where sensitive messages are stored. Define the encryption approach and verify that the database contents are protected at rest without breaking message access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- databases, mobile, security
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100