Description
BookStack before 26.09.2 contains an incorrect authorization vulnerability in AttachmentController that allows authenticated users to access other users' draft page attachments by ID. Attackers with attachment permissions can enumerate sequential attachment IDs to download, rename, relink, or replace files on another user's unpublished draft pages.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| BookStackApp | BookStack | < 26.09.2 | 26.09.2 |
References
- https://codeberg.org/bookstack/bookstack/commit/fcadecccda706b4ecaf9ac3f8e27defe0ebe78ae patch
- https://www.bookstackapp.com/blog/bookstack-release-v26-09-2/ vendor-advisory release-notes
- https://codeberg.org/bookstack/bookstack/releases/tag/v26.09.2 release-notes
- https://codeberg.org/bookstack/bookstack/src/tag/v26.09.1/app/Uploads/Controllers/AttachmentController.php technical-description
- VulnCheck Advisory: BookStack before 26.09.2 Incorrect Authorization via AttachmentController on Draft Pages third-party-advisory