GitHub Advisory Database
GHSA-7pjp-fm93-p6pj
Cross-Site Request Forgery in moodle
Details
The link to update all installed language packs did not include the necessary token to prevent a CSRF risk.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 4.3.0 before 4.3.3 (fixed in 4.3.3) |
| Packagist | moodle/moodle | From 4.2.0 before 4.2.6 (fixed in 4.2.6) |
| Packagist | moodle/moodle | All versions before 4.1.9 (fixed in 4.1.9) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-25982
- https://github.com/moodle/moodle/commit/bac703c534d05d4502580fbe32447d5c777869bf
- https://bugzilla.redhat.com/show_bug.cgi?id=2264098
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KXGBYJ43BUEBUAQZU3DT5I5A3YLF47CB
- https://moodle.org/mod/forum/discuss.php?d=455638
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-54749