SB2024050621 - Permission check bypass in Wagtail
Published: May 6, 2024
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2024-32882)
The vulnerability allows a remote user to compromise the target system.
The vulnerability exists due to application does not properly impose security restrictions when editing a model with per-field restrictions through "wagtail.contrib.settings" or "ModelViewSet". A remote administrator can craft an HTTP POST request that bypasses the permission check on the individual field and update its value.
Remediation
Install update from vendor's website.
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-w2v8-php4-p8hc
- https://github.com/wagtail/wagtail/commit/ab2a5d82b4ee3c909d2456704388ccf90e367c9b
- https://docs.wagtail.org/en/stable/extending/generic_views.html#modelviewset
- https://docs.wagtail.org/en/stable/reference/contrib/settings.html
- https://docs.wagtail.org/en/stable/reference/pages/panels.html#wagtail.admin.panels.FieldPanel.permission