GHSA-xxfm-vmcf-g33f

Suggest an improvement
Source
https://github.com/advisories/GHSA-xxfm-vmcf-g33f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-xxfm-vmcf-g33f/GHSA-xxfm-vmcf-g33f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xxfm-vmcf-g33f
Aliases
Related
Published
2024-06-02T22:28:28Z
Modified
2024-06-02T22:46:44.198428Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N CVSS Calculator
Summary
Improper Handling of Insufficient Permissions in `wagtail.contrib.settings`
Details

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:

Database specific
{
    "github_reviewed_at": "2024-06-02T22:28:28Z",
    "cwe_ids": [
        "CWE-280"
    ],
    "nvd_published_at": "2024-05-30T19:15:16Z",
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

PyPI / wagtail

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.0.5

Affected versions

6.*

6.0
6.0.1
6.0.2
6.0.3
6.0.4

PyPI / wagtail

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Affected versions

6.*

6.1
6.1.1