Advisory

GHSA-fc75-58r8-rm3h

Also known as: CVE-2023-45809, PYSEC-2023-219

Summary

Wagtail vulnerable to disclosure of user names via admin bulk action views

Details

Impact

A user with a limited-permission editor account for the Wagtail admin can make a direct URL request to the admin view that handles bulk actions on user accounts. While authentication rules prevent the user from making any changes, the error message discloses the display names of user accounts, and by modifying URL parameters, the user can retrieve the display name for any user. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin.

Patches
Patched versions have been released as Wagtail 4.1.9 (LTS), 5.0.5 and 5.1.3. The fix is also included in Release Candidate 1 of the forthcoming Wagtail 5.2 release.

Workarounds
None.

Acknowledgements
Many thanks to @quyenheu for reporting this issue.

For more information
If you have any questions or comments about this advisory:

Severity

Low Basis: The source's own band: LOW

Dates

Published
2023-10-19 15:50 UTC
Modified
2024-02-16 08:23 UTC

Affected packages and fixes

wagtail

PyPI · All systems

Affected

  • introduced 0, fixed 4.1.9 (ecosystem)

Fixed versions

4.1.9

Fix

  • Fixed version 4.1.9
    pip install --upgrade wagtail==4.1.9

wagtail

PyPI · All systems

Affected

  • introduced 4.2.0, fixed 5.0.5 (ecosystem)

Fixed versions

5.0.5

Fix

  • Fixed version 5.0.5
    pip install --upgrade wagtail==5.0.5

wagtail

PyPI · All systems

Affected

  • introduced 5.1.0, fixed 5.1.3 (ecosystem)

Fixed versions

5.1.3

Fix

  • Fixed version 5.1.3
    pip install --upgrade wagtail==5.1.3

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