MEDIUM
GHSA-468q-9cmp-76wc
Moodle does not consider the moodle/tag:edit capability before adding a tag
Quick fix
GHSA-468q-9cmp-76wc — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.5.9Details
tag/tag_autocomplete.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not consider the moodle/tag:edit capability before adding a tag, which allows remote authenticated users to bypass intended access restrictions via an AJAX request.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-7846[ADVISORY]
- https://github.com/moodle/moodle/commit/1d9e0857f8bd9f21d25886f77cc13120f9d6be08[WEB]
- https://github.com/moodle/moodle/commit/932694ca59413ce8a0546b8bfb97e07e3b4cf17b[WEB]
- https://github.com/moodle/moodle/commit/bb69623c5c0754467f01f916f94446e1caddb6a8[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=275157[WEB]
- https://web.archive.org/web/20150914064838/http://www.securitytracker.com/id/1031215[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47965[WEB]
- http://openwall.com/lists/oss-security/2014/11/17/11[WEB]