CVE-2021-4119
BookStack is vulnerable to Improper Access Control.
5.3
MEDIUM
CVSS 3.1
EPSS 26.9%
Description
BookStack prior to version 21.11.3 is vulnerable to Improper Access Control. A logged-in user with no privileges OR guest user (if public access enabled) can access the /search/users/select AJAX endpoint meant for admins to manage audit logs, to dump all usernames existing in the Bookstack database. This can also be used to harvest email belonging to a user because BookStack also uses the code where(`email`, `like`, `%` . $search . `%`) to search for users based on email.
How to fix CVE-2021-4119
To remediate CVE-2021-4119, upgrade the affected package to a fixed version below.
- —upgrade to 21.11.3 or later
Is CVE-2021-4119 being exploited?
Moderate — EPSS is 26.9%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- from 0, < 21.11.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |