Moodle allows attackers to bypass the mod/lti:view capability requirement
Impact
mod/lti/launch.php in the LTI module 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 performs access control at the course level rather than at the activity level, which allows remote authenticated users to bypass the mod/lti:view capability requirement by viewing an activity instance.
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-mphj-h2fc-62x3
View original version evidence (41 explicit versions)
Original source description
mod/lti/launch.php in the LTI module 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 performs access control at the course level rather than at the activity level, which allows remote authenticated users to bypass the mod/lti:view capability requirement by viewing an activity instance.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-7832
- Patch github.com/moodle/moodle/commit/263f78b8b804fe7dbcd6ffadcadad2c94a0093f7
- Patch github.com/moodle/moodle/commit/8e34d8e85b971a01459797799c0696cfeaae9cc0
- Patch github.com/moodle/moodle/commit/c844af2569e972195db8bca683c1fdf2ddbc3a59
- Patch github.com/moodle/moodle/commit/fe8430e0dc2a50ea8e03d709e95d1226631d0d52
- 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