p PatchFirst

CVE-2020-5256

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.9 · High · EPSS 2.0% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • bookstack

    Versions
    • < 0.25.5: Affected

    No fix published

  • ssddanbrown/bookstack Packagist

    Versions
    • 0.7.2
    • V0.7.5
    • v0.10.0
    • v0.11.0
    • v0.11.1
    • v0.11.2
    • v0.12.0
    • v0.12.1
    • v0.12.2
    • v0.13.0
    • v0.13.1
    • v0.14.0
    • v0.14.1
    • v0.14.2
    • v0.14.3
    • v0.15.0
    • v0.15.1
    • v0.15.2
    • v0.15.3
    • v0.16.0
    • v0.16.1
    • v0.16.2
    • v0.16.3
    • v0.17.0
    • v0.17.1
    • v0.17.2
    • v0.17.3
    • v0.17.4
    • v0.18.0
    • v0.18.1
    • v0.18.2
    • v0.18.3
    • v0.18.4
    • v0.18.5
    • v0.19.0
    • v0.20.0
    • v0.20.1
    • v0.20.2
    • v0.20.3
    • v0.21.0
    • v0.22.0
    • v0.23.0
    • v0.23.1
    • v0.23.2
    • v0.24.0
    • v0.24.1
    • v0.24.2
    • v0.24.3
    • v0.25.0
    • v0.25.1
    • v0.25.2
    • v0.25.3
    • v0.25.4
    • v0.5.0
    • v0.6.0
    • v0.6.1
    • v0.6.2
    • v0.6.3
    • v0.7.0
    • v0.7.3
    • v0.7.4
    • v0.7.6
    • v0.8.0
    • v0.8.1
    • v0.8.2
    • v0.9.0
    • v0.9.1
    • v0.9.2
    • v0.9.3
    Affected ranges
    • ECOSYSTEM: < 0.25.5

    Update to 0.25.5

Original sources

Check your server →