CVE-2024-35228
Improper Handling of Insufficient Permissions in Wagtail
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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`.
Wagtail es un sistema de gestión de contenidos de código abierto construido sobre Django. Debido a una verificación de permisos aplicada incorrectamente en el módulo `wagtail.contrib.settings`, un usuario con acceso al administrador de Wagtail y conocimiento de la URL de la vista de edición para un modelo de configuración puede acceder y actualizar esa configuración, incluso cuando tiene No se le ha concedido permiso sobre el modelo. La vulnerabilidad no es explotable por un visitante normal del sitio sin acceso al administrador de Wagtail. Se han lanzado versiones parcheadas como Wagtail 6.0.5 y 6.1.2. Las versiones de Wagtail anteriores a la 6.0 no se ven afectadas. Se recomienda a los usuarios que actualicen. Los propietarios de sitios que no puedan actualizar a una versión parcheada pueden evitar la vulnerabilidad en "ModelViewSet" registrando el modelo como un fragmento. No hay ningún workaround disponible para `wagtail.contrib.settings`.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2024-05-14 CVE Reserved
- 2024-05-30 CVE Published
- 2024-05-31 EPSS Updated
- 2024-08-02 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-280: Improper Handling of Insufficient Permissions or Privileges
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37b1 | X_refsource_misc | |
https://github.com/wagtail/wagtail/security/advisories/GHSA-xxfm-vmcf-g33f | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Wagtail Search vendor "Wagtail" | Wagtail Search vendor "Wagtail" for product "Wagtail" | >= 6.0.0 < 6.0.5 Search vendor "Wagtail" for product "Wagtail" and version " >= 6.0.0 < 6.0.5" | en |
Affected
| ||||||
Wagtail Search vendor "Wagtail" | Wagtail Search vendor "Wagtail" for product "Wagtail" | >= 6.1.0 < 6.1.2 Search vendor "Wagtail" for product "Wagtail" and version " >= 6.1.0 < 6.1.2" | en |
Affected
|