Wagtail vulnerable to disclosure of user names via admin bulk action views
Package
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
Published to the GitHub Advisory Database
Oct 19, 2023
Reviewed
Oct 19, 2023
Published by the National Vulnerability Database
Oct 19, 2023
Last updated
Nov 10, 2023
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:
References