Advisory

GHSA-9c5c-5j4h-8q2c

Also known as: CVE-2021-4119

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-16 19:40 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

ssddanbrown/bookstack

Packagist · All systems

Affected

  • introduced 0, fixed 21.11.3 (ecosystem)

Fixed versions

21.11.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences