Headline
GHSA-fc75-58r8-rm3h: Wagtail vulnerable to disclosure of user names via admin bulk action views
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:
- Visit Wagtail’s support channels
- Email us at [email protected] (view our security policy for more information).
Package
pip wagtail (pip)
Affected versions
< 4.1.9
>= 4.2.0, < 5.0.5
>= 5.1.0, < 5.1.3
Patched versions
4.1.9
5.0.5
5.1.3
Description
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:
- Visit Wagtail’s support channels
- Email us at [email protected] (view our security policy for more information).
References
- GHSA-fc75-58r8-rm3h
- wagtail/wagtail@0bacd29
- wagtail/wagtail@2231f46
- wagtail/wagtail@bc96aed
- https://github.com/wagtail/wagtail/releases/tag/v4.1.9
- https://github.com/wagtail/wagtail/releases/tag/v5.0.5
- https://github.com/wagtail/wagtail/releases/tag/v5.1.3
gasman published to wagtail/wagtail
Oct 19, 2023
Published to the GitHub Advisory Database
Oct 19, 2023
Reviewed
Oct 19, 2023
Last updated
Oct 19, 2023
Related news
Wagtail is an open source content management system built on Django. 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. Patched versions have been released as Wagtail 4.1.8 (LTS), 5.0.5 and 5.1.3. The fix is also included in Release Candidate 1 of the forthcoming Wagtail 5.2 release. Users are advised to upgrade. There are no known workarounds for this vulnerability.