Vulnerability Details : CVE-2020-5256
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.
Vulnerability category: Execute code
Products affected by CVE-2020-5256
- cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-5256
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 61 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-5256
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.0
|
HIGH | AV:N/AC:L/Au:S/C:C/I:C/A:C |
8.0
|
10.0
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
7.9
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
1.3
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2020-5256
-
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").Assigned by: security-advisories@github.com (Secondary)
-
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-5256
-
https://github.com/BookStackApp/BookStack/releases/tag/v0.25.4
Release BookStack Beta v0.25.4 · BookStackApp/BookStack · GitHubRelease Notes
-
https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx
Remote Code Execution Through Image Uploads · Advisory · BookStackApp/BookStack · GitHubThird Party Advisory
-
https://github.com/BookStackApp/BookStack/releases/tag/v0.25.3
Release BookStack Beta v0.25.3 · BookStackApp/BookStack · GitHubRelease Notes
-
https://github.com/BookStackApp/BookStack/releases/tag/v0.25.5
Release BookStack Beta v0.25.5 · BookStackApp/BookStack · GitHubRelease Notes
Jump to