CVE-2020-5256

High

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.

SeverityHigh
CVSS7.9
Exploit probability—
ProductBookstack
PublishedMar 9, 2020
First seenMar 9, 2020
Weakness typeCWE-95CWE-95

How to fix

Update
  • bookstackapp bookstack0.25.3 or later
  • ssddanbrown/bookstack0.25.5 or later

Affected products

ProductAffected versionsFixed in
bookstackapp bookstackv < 0.25.30.25.3
ssddanbrown/bookstackPackagistv < 0.25.50.25.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.