CVE-2024-35228: Wagtail - Broken Access Control
- Cve: CVE-2024-35228
- Name: Wagtail - Broken Access Control
- Description: Wagtail is an open source content management system built on Django. Due to an improperly applied permission check in the `wagtail.contrib.settings` module, a user with access to the Wagtail admin and knowledge of the URL of the edit view for a settings model can access and update that setting, even when they have not been granted permission over the model. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. Patched versions have been released as Wagtail 6.0.5 and 6.1.2. Wagtail releases prior to 6.0 are unaffected. Users are advised to upgrade. 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`.
- Impact: Unauthorized users with admin access can access and modify settings, potentially leading to configuration tampering or information disclosure.
- Remediation: Upgrade to Wagtail 6.0.5 or 6.1.2. or later versions.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: logged_in
- Requirements: User must have admin access and knowledge of the settings URL
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N
- Epss score: 0.00332
- Epss percentile: 0.2694
- Assignee: [email protected]
- Published at: 2024-05-30T19:15:16Z
- Age in days: 908
- Modified at: 2026-06-17T07:34:35Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-35228
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-280 | Improper Handling of Insufficient Permissions or Privileges |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37b1 | nvd | |
| https://github.com/wagtail/wagtail/security/advisories/GHSA-xxfm-vmcf-g33f | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| torchbox:wagtail | >= 6.1.0, < 6.1.2; >= 6.0.0, < 6.0.5 | no | cna_alias_text | /v1/products/torchbox/wagtail |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| wagtail/wagtail | commit, fix, package, security_advisory | yes | /v1/repositories/wagtail/wagtail |
Index
- Repositories: 1
- Checked, none or zero: repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 6
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports