Remote Code Execution Through Image Uploads in BookStack
Published Mar 9, 2020
8.8
HIGHCVSS 3.1
EPSS 1.97%
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
-
- Version < 0.25.5StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| BookStackApp | BookStack | n/a |
|
- < 0.25.3
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (6)
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.3 x_refsource_MISCRelease Notes
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.4 x_refsource_MISCRelease Notes
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.5 x_refsource_MISCRelease Notes
- https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx x_refsource_CONFIRMThird Party Advisory
- https://github.com/advisories/GHSA-g9rq-x4fj-f5hx Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-5256
| Link | Providers | Tags |
|---|---|---|
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.3 | x_refsource_MISCRelease Notes | |
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.4 | x_refsource_MISCRelease Notes | |
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.5 | x_refsource_MISCRelease Notes | |
| https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx | x_refsource_CONFIRMThird Party Advisory | |
| https://github.com/advisories/GHSA-g9rq-x4fj-f5hx | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-5256 |
Change history (0)
No recorded changes yet.