Moodle does not consider the moodle/tag:edit capability before adding a tag
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.5.9Ecosystem versions | 2.5.9 |
| From 2.6.0 before 2.6.6Ecosystem versions | 2.6.6 |
| From 2.7.0 before 2.7.3Ecosystem versions | 2.7.3 |
Version evidence: OSV · GHSA-468q-9cmp-76wc
View original version evidence (41 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-7846
- Patch github.com/moodle/moodle/commit/1d9e0857f8bd9f21d25886f77cc13120f9d6be08
- Patch github.com/moodle/moodle/commit/932694ca59413ce8a0546b8bfb97e07e3b4cf17b
- Patch github.com/moodle/moodle/commit/bb69623c5c0754467f01f916f94446e1caddb6a8
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php
- Security advisory web.archive.org/web/20150914064838/http://www.securitytracker.com/id/1031215
- Source reference git.moodle.org/gw
- Security advisory openwall.com/lists/oss-security/2014/11/17/11