Predictable Slack export upload URL allows taking over organizations being created with a Slack import
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-2fx7-3vcm-hg62. Fix status from GitHub.
Summary
### Summary On servers that allow importing from Slack while creating an organization, the Slack export file was uploaded to a predictable URL. Anyone could read the upload's metadata from that URL, and the metadata included the key from the organization creator's confirmation link. With that key, an attacker could take over the organization being created, including the imported Slack data, and see the Slack bot token entered for the import. In addition, any user with an account on the server could delete someone else's uploaded export file, and on servers that store uploaded files locally, obtain an export file that was still being uploaded. Severity is high, but only organizations being created with a Slack import are affected, and confirmation links expire after one day. Importing from Slack while creating an organization is a Zulip Cloud feature. It is disabled by default on self-hosted servers, which import Slack data using management commands instead, so most self-hosted servers are not affected. ### Details When someone creates an organization and chooses to import from Slack, the Slack export file is uploaded with the resumable upload server, tusd. The upload's URL was derived only from the sequential ID of the pending organization creation. Because the creator has no account yet, the upload is authenticated by including the key from their confirmation link in the upload's metadata. tusd authorizes requests for an existing upload solely by knowledge of its URL, which it expects to be random. It returns an upload's metadata to anyone who asks for the upload's status, so the confirmation key was available to anyone who guessed the URL. Similarly, any user with an account on the server could complete or cancel another person's export upload. ### Impact An attacker without an account could obtain the confirmation key of anyone creating an organization with a Slack import. That key is the only credential for the rest of the organization creation process. Using it, the attacker could: - complete the organization's registration, or start the import with the uploaded export file; - after the import, choose which imported account becomes the organization owner, gaining full control of the organization and its imported Slack data; - see the Slack bot token entered for the import, which grants read access to the Slack workspace's user list (including email addresses), emoji and workspace information. Any user with an account on the server could also: - delete another person's uploaded export file, interrupting their import; - obtain a copy of another person's export file, through the issue described in [GHSA-6c7c-7xjc-qm48](https://github.com/zulip/zulip/security/advisories/GHSA-6c7c-7xjc-qm48); on servers that store uploaded files locally, they could also obtain the part of an export file uploaded so far, by completing the upload while it was in progress. A self-hosted server is affected only if its administrator enabled importing from Slack while creating an organization, by setting `MAX_WEB_DATA_IMPORT_SIZE_MB` to a non-zero value (it is 0 by default), and someone creates an organization that way. The documented way to import Slack data into a self-hosted server is the `convert_slack_data` and `import` management commands, which are not affected. The confirmation key stops working once the organization creation is completed, and confirmation links expire one day after they are sent. This affects Zulip Server 11.0 through 13.2. This is fixed in Zulip Server 13.3 and 12.5. ### References - [Import from Slack](https://zulip.com/help/import-from-slack#import-your-data-into-zulip)
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Zulip Server | >= 11.0, < 12.5 | 12.5 | Patch available | GHSA-2fx7-3vcm-hg62 |
| — | Zulip Server | >= 13.0, < 13.3 | 13.3 | Patch available | GHSA-2fx7-3vcm-hg62 |
- Zulip Server Vendor— Affected >= 11.0, < 12.5 Fixed in 12.5 Patch available GHSA-2fx7-3vcm-hg62
- Zulip Server Vendor— Affected >= 13.0, < 13.3 Fixed in 13.3 Patch available GHSA-2fx7-3vcm-hg62
Remediation
- Fix · GHSA-2fx7-3vcm-hg62 Zulip Server Fixed in 12.5 Advisory →
- Fix · GHSA-2fx7-3vcm-hg62 Zulip Server Fixed in 13.3 Advisory →
Timeline
- 2026-11-19 Threatist record created from GHSA-2fx7-3vcm-hg62
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences