Postizで任意ファイルが読まれる弱点、2.25.3で修正
Summary
投稿管理ツール Postiz(postiz-app)の 2.23.0 以上 2.25.3 未満に、一般の登録ユーザーがサーバー上の任意のファイルを外部に送らせられる弱点が見つかりました。初期設定では誰でも自己登録できるため、インターネットに公開している環境は特に影響を受けやすくなります。2.25.3 への更新を行い、更新までの間は公開範囲と登録設定を見直してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
投稿管理ツール Postiz(postiz-app)の 2.23.0 以上 2.25.3 未満に、一般の登録ユーザーがサーバー上の任意のファイルを外部に送らせられる弱点が見つかりました。初期設定では誰でも自己登録できるため、インターネットに公開している環境は特に影響を受けやすくなります。2.25.3 への更新を行い、更新までの間は公開範囲と登録設定を見直してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| GitroomHQ | postiz-app |
≥ 2.23.0, < 2.25.3 |
2.25.3 |
Original description The description as published by the source.
When a post is published, Postiz treats a media path that is not a web address as a file on the server's disk, but it does not check that the file lies inside the upload directory. A registered user can store a crafted media path with a post, get it past the checks that normally restrict it, and have the publishing worker read an arbitrary file and send it as an attachment to a Discord server the user controls.
The same unconfined reads can be reached through two further routes. One tells the caller whether a file exists and can exhaust the backend's memory, the other delivers the file the same way as the main route. Self-registration is open by default, so the attacker needs no existing account.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- web github.com
- web github.com
- web github.com
- web gadvisory.org
- web github.com