CVE-2020-5256 HIGH

CVE-2020-5256: Remote Code Execution Through Image Uploads in BookStack

Vendor Bookstackapp
Product BookStack
Weakness CWE-95 · Eval injection
Published March 9, 2020
Last update August 4, 2024

CVSS base score

7.9/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 9, 2020 CVE published
August 4, 2024 Record updated