Description
BookStack before 26.09.2 contains an uncontrolled resource consumption vulnerability in the ZIP content importer that allows authenticated users with the Import Content permission to exhaust server storage. Attackers can upload a small ZIP whose data.json references one bundled file many times, causing ZipImportRunner::importAttachment() to write a full copy per reference.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
BookStackApp BookStack
Default version status: unaffected
0 to < 26.09.2affected
References
- https://codeberg.org/bookstack/bookstack/commit/2de4063489135d57ea03f1c073d6b37cd20a316e ↗
- https://www.bookstackapp.com/blog/bookstack-release-v26-09-2/ ↗
- https://github.com/BookStackApp/BookStack/blob/v26.09.1/app/Exports/ZipExports/ZipImportRunner.php#L208-L272 ↗
- https://github.com/BookStackApp/BookStack/blob/v26.09.1/app/Exports/ZipExports/ZipExportValidator.php#L17-L41 ↗
- https://www.vulncheck.com/advisories/bookstack-before-26.09.2-storage-amplification-via-zip-import-file-references ↗