NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-35228: Improper Handling of Insufficient Permissions in `wagtail.contrib.settings`

mediumCVSS 3.1 5.5GHSA-xxfm-vmcf-g33f

Impact 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.

Published Jun 2, 2024 · Updated Jun 3, 2024

Affected packages

wagtail

Ecosystem
PyPI
Affected
>= 6.0.0, < 6.0.5
Fixed in
6.0.5
Check
pip show wagtail

wagtail

Ecosystem
PyPI
Affected
>= 6.1.0, < 6.1.2
Fixed in
6.1.2
Check
pip show wagtail

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

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.

Patches

Patched versions have been released as Wagtail 6.0.5 and 6.1.2. Wagtail releases prior to 6.0 are unaffected.

Workarounds

No workaround is available.

Acknowledgements

Many thanks to Victor Miti for reporting this issue.

For more information

If you have any questions or comments about this advisory:

Credited to engineervix, gasman, RealOrangeOne.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries