PT-2020-18350
CVE-2020-5256
·
Published
2020-03-09
·
Updated
2020-10-13
Description by
CVSS 2.0
9.0
HighMetricsAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
BookStack versions prior to 0.25.5
Description
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.
Recommendations
For BookStack versions prior to 0.25.5, upgrade to at least version 0.25.5 to avoid this issue.
As a temporary workaround, consider using the local secure image storage option, or use s3 or a similar compatible service.
Prevent direct execution of any
php files, apart from the public/index.php file, through web-server configuration. Found an issue in the description? Have something to add? Feel free to write us 👾