Skip to content
High 7.5

Zulip serverでDropboxのリンクプレビュー処理に脆弱性、サーバーのプロセスが停止させられるおそれ

GHSA-c9j8-628c-f7rm First seen on SecPulse

Summary

メッセージを送れる利用者が、細工したリンクでZulipのサーバーに任意のページを取得させ、メモリ破壊を起こしてアプリケーションのプロセスを停止させられるおそれがあります。影響するのは12.4未満と13.0-rc1未満のZulip serverで、修正版は12.4以降と13.0-rc1以降です。プレビューは初期設定で有効なため、早めの修正版への更新をおすすめします。

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のサーバーに任意のページを取得させ、メモリ破壊を起こしてアプリケーションのプロセスを停止させられるおそれがあります。影響するのは12.4未満と13.0-rc1未満のZulip serverで、修正版は12.4以降と13.0-rc1以降です。プレビューは初期設定で有効なため、早めの修正版への更新をおすすめします。

Affected packages

PackageAffected → Fixed
—Zulip server
< 12.4→ 12.4, 13.0-rc1
Original description The description as published by the source.

Summary

When rendering a message with a link to a Dropbox folder or file, Zulip fetches the linked page to find a preview image. Two bugs in this code let any user who can send messages make the server fetch a page from a host they control, and use that page to crash Zulip's application server processes. These processes handle web and API requests for every organization on the server. A crafted link could pass Zulip's check that it pointed to Dropbox while making the server connect to a different host. A malicious page served from that host could then trigger memory corruption in the parser that extracted the preview image, crashing the process. Each crash only interrupts the request that triggered it, and the server restarts the crashed process. However, an attacker who repeatedly triggers crashes could disrupt service for all users of the server. Severity is high: the attacker only needs an account that can send messages and a web server they control, and the affected previews are enabled by default. It may be possible to exploit this memory corruption to run arbitrary code on the server.

Details

For links to Dropbox shared folders, and to shared files that weren't images or videos, Zulip fetched the linked page while rendering the message and used its OpenGraph image as the preview (dropbox_media and fetch_open_graph_image in zerver/lib/markdown/__init__.py).

dropbox_media decided whether a link pointed to Dropbox by parsing its hostname with Python's `…

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