CVE-2024-35228 Improper Handling of Insufficient Permissions in Wagtail
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi wagtail(PyPI) | = 6.0; = 6.0.1; = 6.0.2; = 6.0.3 +5 more | 6.0.5, 6.1.2 | Fixed |
| wagtail | = >= 6.0.0, < 6.0.5; = >= 6.1.0, < 6.1.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi wagtail(PyPI) | >= 6.0.0, < 6.0.5 | 6.0.5 |
| pypi wagtail(PyPI) | = 6.0 | No fix listed |
| pypi wagtail(PyPI) | = 6.0.1 | No fix listed |
| pypi wagtail(PyPI) | = 6.0.2 | No fix listed |
| pypi wagtail(PyPI) | = 6.0.3 | No fix listed |
| pypi wagtail(PyPI) | = 6.0.4 | No fix listed |
| pypi wagtail(PyPI) | >= 6.1.0, < 6.1.2 | 6.1.2 |
| pypi wagtail(PyPI) | = 6.1 | No fix listed |
| pypi wagtail(PyPI) | = 6.1.1 | No fix listed |
| wagtail | = >= 6.0.0, < 6.0.5 | No fix listed |
| wagtail | = >= 6.1.0, < 6.1.2 | No fix listed |
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-xxfm-vmcf-g33f vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37b1 patch
- github.com product
- pypi.org product
- github.com vendor-advisory