| 제목 | BookstackApp BookStack v25.12.9 Improper Access Controls |
|---|
| 설명 | I reported a vulnerability in bookstack (https://github.com/BookStackApp/BookStack) which was promptly patched in https://github.com/BookStackApp/BookStack/releases/tag/v26.03.1
I am requesting a CVE.
Description:
The finding is confirmed by direct source code inspection. In `ExportFormatter.php`, the `chapterToMarkdown()` method at line 317 iterates over `$chapter->pages` — the raw Eloquent relationship that returns all pages associated with the chapter **with no permission scoping whatsoever**.
This is in direct contrast to every other chapter export method in the same class:
The `getVisiblePages()` method on the `Chapter` model applies `->scopes('visible')` which triggers permission filtering through the `PermissionApplicator`, and also orders by draft status and priority. The raw `$chapter->pages` relationship bypasses all of this, exposing every page in the chapter regardless of the current user's permissions. |
|---|
| 원천 | ⚠️ https://github.com/Ghufran2/CVE-Bookstack/blob/main/Permission%20Bypass%20in%20Markdown%20Chapter%20Export |
|---|
| 사용자 | Ghufran Khan (UID 95493) |
|---|
| 제출 | 2026. 03. 17. PM 02:08 (20 날 ago) |
|---|
| 모더레이션 | 2026. 04. 03. PM 03:11 (17 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 355091 [BookStackApp BookStack 까지 26.03 Chapter Export ExportFormatter.php chapterToMarkdown pages 권한 상승] |
|---|
| 포인트들 | 20 |
|---|