Moodle Cross-site request forgery (CSRF) vulnerability
Impact
Cross-site request forgery (CSRF) vulnerability in markposts.php in Moodle 3.0 through 3.0.3, 2.9 through 2.9.5, 2.8 through 2.8.11, 2.7 through 2.7.13 and earlier allows remote attackers to hijack the authentication of users for requests that marks forum posts as read.
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.7.14Ecosystem versions | 2.7.14 |
| From 2.8 before 2.8.12Ecosystem versions | 2.8.12 |
| From 2.9 before 2.9.6Ecosystem versions | 2.9.6 |
| From 3.0 before 3.0.4Ecosystem versions | 3.0.4 |
Version evidence: OSV · GHSA-r867-v437-4rrm
View original version evidence (97 explicit versions)
Original source description
Cross-site request forgery (CSRF) vulnerability in markposts.php in Moodle 3.0 through 3.0.3, 2.9 through 2.9.5, 2.8 through 2.8.11, 2.7 through 2.7.13 and earlier allows remote attackers to hijack the authentication of users for requests that marks forum posts as read.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2016-3734
- Patch github.com/moodle/moodle/commit/01408d619ba89d32f9ad83308990ff9b0374cb57
- Patch github.com/moodle/moodle/commit/1f5c494f761ef7961c449075adf192e149148e1a
- Patch github.com/moodle/moodle/commit/7873e36f0cc0ccfd1424ff9302eb1ea9e4e74305
- Patch github.com/moodle/moodle/commit/d98c24659935c1bdff4b35ec0a85ab1a3ab05d9f
- Patch github.com/moodle/moodle/commit/e90e0ea5700ee9b016034b74ed7f41787109d1a2
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Security advisory web.archive.org/web/20160703032310/http://www.securitytracker.com/id/1035902
- Security advisory web.archive.org/web/20160930194927/http://www.securityfocus.com/bid/91281
- Source reference git.moodle.org/gw
- Security advisory www.openwall.com/lists/oss-security/2016/05/17/4