Skip to content
High 7.4

Zulip Serverで組織作成時のSlackインポートに脆弱性、組織を乗っ取られるおそれ

GHSA-2fx7-3vcm-hg62 First seen on SecPulse

Summary

Zulip Serverでは、組織作成時にSlackからインポートするデータのアップロード先URLが予測可能で、組織の乗っ取りや、アップロード済みのエクスポートファイルの削除などが起きるおそれがあります。影響を受けるのは12.5より前と13.3より前の版で、修正版の12.5と13.3が公開されています。Slackからのインポートは主にZulip Cloudの機能で、セルフホストでは既定で無効のため影響は限定的ですが、該当する場合は修正版への更新を急いでください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Zulip Serverでは、組織作成時にSlackからインポートするデータのアップロード先URLが予測可能で、組織の乗っ取りや、アップロード済みのエクスポートファイルの削除などが起きるおそれがあります。影響を受けるのは12.5より前と13.3より前の版で、修正版の12.5と13.3が公開されています。Slackからのインポートは主にZulip Cloudの機能で、セルフホストでは既定で無効のため影響は限定的ですが、該当する場合は修正版への更新を急いでください。

Affected packages

PackageAffected → Fixed
—Zulip Server
>= 11.0, < 12.5→ 12.5
—Zulip Server
>= 13.0, < 13.3→ 13.3
Original description The description as published by the source.

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, wh…

Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details