Skip to content
OpenAdvisories
High · 7.9 CVE-2020-5256 EUVD-2020-0345GHSA-g9rq-x4fj-f5hx

Remote Code Execution Through Image Uploads in BookStack

Published Mar 9, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

BookStack before version 0.25.5 has a vulnerability where a user could upload PHP files through image upload functions, which would allow them to execute code on the host system remotely. They would then have the permissions of the PHP process. This most impacts scenarios where non-trusted users are given permission to upload images in any area of the application. The issue was addressed in a series of patches in versions 0.25.3, 0.25.4 and 0.25.5. Users should upgrade to at least v0.25.5 to avoid this vulnerability.

Affected products

VendorProductAffectedFixed
BookStackApp BookStack < 0.25.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist ssddanbrown/bookstack < 0.25.5 0.25.5 GHSA-g9rq-x4fj-f5hx

References