Exports with member consent include messages in private channels that consenting users left or were removed from
Summary
Summary
An organization export of public and private data with member consent included private channels that a consenting user had unsubscribed from or been removed from. In channels with shared history, this exported messages and files that other members, who had not consented, sent after th...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| —Zulip server |
< 12.4→ 12.4 |
12.4 |
| —Zulip server |
= 13.0-rc1→ 13.0-rc2 |
13.0-rc2 |
Original description The description as published by the source.
Summary
An organization export of public and private data with member consent included private channels that a consenting user had unsubscribed from or been removed from. In channels with shared history, this exported messages and files that other members, who had not consented, sent after the consenting user left or was removed. Severity is limited: creating such an export requires administrator permissions, and only private channels that a consenting user had belonged to were affected.
Details
The "Public and private data (with consent)" export includes the private channel messages that users who have allowed administrators to export their private data can access. To find these channels, export_partial_message_files (zerver/lib/export.py) used all of a consenting user's channel subscriptions. When a user leaves a private channel, or is unsubscribed by someone else, their subscription is kept as inactive, and the export should have skipped such subscriptions.
As a result, for a private channel with shared history that a consenting user had belonged to, the export included the channel's full message history, including messages sent after the user stopped being in the channel. For a private channel with protected history, it included the messages the user had received while subscribed, which they can no longer access once unsubscribed.
Impact
An organization administrator could obtain, through an export with member consent, messages and files from private…
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY zulip/zulip