Postizに任意ファイル読み取りの欠陥、2.25.2で修正
Summary
SNS投稿管理ツールPostiz(postiz-app)の2.23.0以上2.25.2未満に、ログインした一般ユーザーがサーバー内のファイルを読み出したり、バックエンドを停止させたりできる欠陥が見つかりました。初期設定では誰でもアカウントを作れるため、インターネットに公開している環境は特に影響を受けます。2.25.2へ更新し、公開していた期間が長い場合は秘密情報の入れ替えも検討してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
SNS投稿管理ツールPostiz(postiz-app)の2.23.0以上2.25.2未満に、ログインした一般ユーザーがサーバー内のファイルを読み出したり、バックエンドを停止させたりできる欠陥が見つかりました。初期設定では誰でもアカウントを作れるため、インターネットに公開している環境は特に影響を受けます。2.25.2へ更新し、公開していた期間が長い場合は秘密情報の入れ替えも検討してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| GitroomHQ | postiz-app |
≥ 2.23.0, < 2.25.2 |
2.25.2 |
Original description The description as published by the source.
Postiz lets a signed-in user ask the backend to run a function on one of their connected channels. The backend did not restrict which functions can be requested, so a user could call internal helper functions that were never meant to be reachable from the web interface.
One of those helpers reads a file from the server's disk. A user who connects a channel whose stored token is a file path can have the backend return the contents of any file it can read, including its environment, which holds the secret used to sign login sessions, the database address and the credentials of connected services. Another helper makes the backend process exit with a single request. Self-registration is open by default, so no existing account and no action by another user is needed.
Source: CVE.org (CVE Program・cvelistV5) NVD