CVE-2021-4119
MEDIUM5.3EPSS 0.43%BookStack is vulnerable to Improper Access Control.
Published: 12/16/2021Modified: 11/8/2023
Also known as:GHSA-9c5c-5j4h-8q2c
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.
Affected packages (1)
- Packagist/ssddanbrown/bookstackfrom 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 |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-4119
- PATCHhttps://github.com/bookstackapp/bookstack
- WEBhttps://github.com/bookstackapp/bookstack/commit/e765e618547c92f4e0b46caca6fb91f0174efd99
- WEBhttps://github.com/BookStackApp/BookStack/releases/tag/v21.11.3
- WEBhttps://huntr.dev/bounties/135f2d7d-ab0b-4351-99b9-889efac46fca