Skip to content

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

Low severity GitHub Reviewed Published Oct 19, 2023 in wagtail/wagtail • Updated Nov 10, 2023

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:

References

@gasman gasman published to wagtail/wagtail Oct 19, 2023
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

Severity

Low
2.7
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

CVE ID

CVE-2023-45809

GHSA ID

GHSA-fc75-58r8-rm3h

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.