Skip to content
High 7.5

Outlineで非公開化した文書が公開共有リンクから閲覧される

GHSA-rq53-m97j-f2pg First seen on SecPulse

Summary

Outlineでは、文書を非公開にしても既存の公開共有リンクが閉じず、リンクを知る人は認証なしで文書全体を読めてしまいます。所有者や管理者も非公開の間は共有を取り消せない状態です。修正版としてOutline 1.12.0が公開されていますので、1.12.0以降へアップデートしてください。

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.

Outlineでは、文書を非公開にしても既存の公開共有リンクが閉じず、リンクを知る人は認証なしで文書全体を読めてしまいます。所有者や管理者も非公開の間は共有を取り消せない状態です。修正版としてOutline 1.12.0が公開されていますので、1.12.0以降へアップデートしてください。

Affected packages

PackageAffected → Fixed
otherOutline
< 1.12.0→ 1.12.0
Original description The description as published by the source.

Summary

Unpublishing a document does not close its existing public share. Anyone with the share link can continue reading the full withdrawn document without authentication.

The document owner and workspace administrators also cannot revoke the share while the document is unpublished. The revoke endpoint returns 404 Not Found, even though the share remains active and continues serving the document.

The only in-product recovery I found was to re-publish the document, revoke the share, and then unpublish it again. This creates a persistent unauthenticated disclosure when users reasonably believe they have withdrawn a document.

Details

Public share loading ignores the unpublished state

The public share loader is implemented in server/commands/shareLoader.ts.

At commit cb0207201ed2c8b641809c26e41fbe2bde297072, lines 50 through 69 load the associated document using the withDrafts scope:

const share = await Share.findOne({
where,
include: [
{
model: Document.scope("withDrafts"),
as: "document",
include: [
{
model: Collection.scope("withDocumentStructure"),
as: "collection",
required: false,
},
],
},
{
model: Collection.scope("withDocumentStructure"),
as: "collection",
},
],
});

This scope allows unpublished documents to be returned instead of applying the normal publishedAt IS NOT NULL constraint.

The subsequent checks at lines 71 through 77 reject suspended…

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