Moodle cross-site request forgery (CSRF) vulnerability
Impact
Cross-site request forgery (CSRF) vulnerability in auth/shibboleth/logout.php in Moodle through 2.5.9, 2.6.x before 2.6.7, 2.7.x before 2.7.4, and 2.8.x before 2.8.2 allows remote attackers to hijack the authentication of arbitrary users for requests that trigger a logout.
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.6.7Ecosystem versions | 2.6.7 |
| From 2.7.0 before 2.7.4Ecosystem versions | 2.7.4 |
| From 2.8.0 before 2.8.2Ecosystem versions | 2.8.2 |
Version evidence: OSV · GHSA-5jph-mvfm-r27p
View original version evidence (48 explicit versions)
Original source description
Cross-site request forgery (CSRF) vulnerability in auth/shibboleth/logout.php in Moodle through 2.5.9, 2.6.x before 2.6.7, 2.7.x before 2.7.4, and 2.8.x before 2.8.2 allows remote attackers to hijack the authentication of arbitrary users for requests that trigger a logout.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2015-0218
- Patch github.com/moodle/moodle/commit/371d58d70d4ef866f35e33ea6898007112bfe654
- Patch github.com/moodle/moodle/commit/693918c30e6b7c95dddd9c5973f98d98342a59d9
- Patch github.com/moodle/moodle/commit/b82b4c562b705ea8f11893d9126889bb696b9612
- Patch github.com/moodle/moodle/commit/fb60e23a67931eeba8fc9aacf3cc838e462f21f2
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php
- Source reference git.moodle.org/gw
- Security advisory openwall.com/lists/oss-security/2015/01/19/1