GitHub Advisory Database
GHSA-hpmv-wvq3-gj27
Moodle cross-site request forgery (CSRF) vulnerability
Details
Cross-site request forgery (CSRF) vulnerability in admin/registration/register.php in Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 allows remote attackers to hijack the authentication of administrators for requests that send statistics to an arbitrary hub URL.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions before 2.7.11 (fixed in 2.7.11) |
| Packagist | moodle/moodle | From 2.8.0 before 2.8.9 (fixed in 2.8.9) |
| Packagist | moodle/moodle | From 2.9.0 before 2.9.3 (fixed in 2.9.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-5335
- https://github.com/moodle/moodle/commit/4bb9e1ad8af12b01499c68543e80f7c12fd557ea
- https://github.com/moodle/moodle/commit/77e072ebec68ba685551b886b71054d1feae6c94
- https://github.com/moodle/moodle/commit/7bf5c6a542efa113dbb241a113cb6079f0572443
- https://github.com/moodle/moodle/commit/a1168a7427f8fa1926a771fe8e6d10aeb6689686
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=323230
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-51091