ghsa-9c5c-5j4h-8q2c
Vulnerability from github
Published
2021-12-16 19:40
Modified
2022-08-11 18:45
Severity ?
Summary
BookStack is vulnerable to Improper Access Control.
Details
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": [ { "package": { "ecosystem": "Packagist", "name": "ssddanbrown/bookstack" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "21.11.3" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-4119" ], "database_specific": { "cwe_ids": [ "CWE-284" ], "github_reviewed": true, "github_reviewed_at": "2021-12-16T15:36:38Z", "nvd_published_at": "2021-12-15T20:15:00Z", "severity": "MODERATE" }, "details": "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.", "id": "GHSA-9c5c-5j4h-8q2c", "modified": "2022-08-11T18:45:55Z", "published": "2021-12-16T19:40:26Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4119" }, { "type": "WEB", "url": "https://github.com/bookstackapp/bookstack/commit/e765e618547c92f4e0b46caca6fb91f0174efd99" }, { "type": "WEB", "url": "https://github.com/BookStackApp/BookStack/releases/tag/v21.11.3" }, { "type": "PACKAGE", "url": "https://github.com/bookstackapp/bookstack" }, { "type": "WEB", "url": "https://huntr.dev/bounties/135f2d7d-ab0b-4351-99b9-889efac46fca" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "type": "CVSS_V3" } ], "summary": "BookStack is vulnerable to Improper Access Control." }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.