Moodle has multiple cross-site request forgery (CSRF) vulnerabilities in the Forum module
Impact
Multiple cross-site request forgery (CSRF) vulnerabilities in the Forum 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 allow remote attackers to hijack the authentication of arbitrary users for requests that set a tracking preference within (1) mod/forum/deprecatedlib.php, (2) mod/forum/forum.js, (3) mod/forum/index.php, or (4) mod/forum/lib.php.
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-43r4-vm25-qm78
View original version evidence (41 explicit versions)
Original source description
Multiple cross-site request forgery (CSRF) vulnerabilities in the Forum 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 allow remote attackers to hijack the authentication of arbitrary users for requests that set a tracking preference within (1) mod/forum/deprecatedlib.php, (2) mod/forum/forum.js, (3) mod/forum/index.php, or (4) mod/forum/lib.php.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-7838
- Patch github.com/moodle/moodle/commit/545eb1bcfdbfc352bf6c31edf440485ba6d5af42
- Patch github.com/moodle/moodle/commit/7a311adbba9471edb5a49e4c4b8c356c87f0e44b
- Patch github.com/moodle/moodle/commit/bef4a5e01739f2b239c0910b9e1aa2841b979f7d
- Patch github.com/moodle/moodle/commit/c812956efda7d10dfdce5ae19c0ec8879de38a31
- 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