RocketChat / RocketChat/Rocket.Chat.ReactNative

[Security] Sensitive data stored in unencrypted database

Open
#2,785 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

👍 improvement
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:
  1. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.