2.7 Low
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
6.9 Medium
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
15.5%
If a model has been made available for editing through the wagtail.contrib.settings
module or ModelViewSet
, and the permission
argument on FieldPanel
has been used to further restrict access to one or more fields of the model, a user with edit permission over the model but not the specific field can craft an HTTP POST request that bypasses the permission check on the individual field, allowing them to update its value.
The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin, or by a user who has not been granted edit access to the model in question. The editing interfaces for pages and snippets are also unaffected.
Patched versions have been released as Wagtail 6.0.3 and 6.1. Wagtail releases prior to 6.0 are unaffected.
Site owners who are unable to upgrade to a patched version can avoid the vulnerability in ModelViewSet
by registering the model as a snippet instead. No workaround is available for wagtail.contrib.settings
.
Many thanks to Ben Morse and Joshua Munn for reporting this issue.
If you have any questions or comments about this advisory:
docs.wagtail.org/en/stable/extending/generic_views.html#modelviewset
docs.wagtail.org/en/stable/reference/contrib/settings.html
docs.wagtail.org/en/stable/reference/pages/panels.html#wagtail.admin.panels.FieldPanel.permission
github.com/wagtail/wagtail
github.com/wagtail/wagtail/commit/ab2a5d82b4ee3c909d2456704388ccf90e367c9b
github.com/wagtail/wagtail/commit/fa0d4829f9c81eefb37cc058e2fa1b6a918741da
github.com/wagtail/wagtail/releases/tag/v6.0.3
github.com/wagtail/wagtail/security/advisories/GHSA-w2v8-php4-p8hc
nvd.nist.gov/vuln/detail/CVE-2024-32882
2.7 Low
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
6.9 Medium
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
15.5%