MEDIUM5.4
GHSA-356g-7x36-7m34
Moodle CSRF risks due to misuse of confirm_sesskey
Quick fix
GHSA-356g-7x36-7m34 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^4.4.1Details
Incorrect CSRF token checks resulted in multiple CSRF risks.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
4.4.0-betaFixed in: 4.4.1Fix
composer require moodle/moodle:^4.4.1Packagist/moodle/moodle
Introduced in:
4.3.0-betaFixed in: 4.3.5Fix
composer require moodle/moodle:^4.3.5Packagist/moodle/moodle
Introduced in:
4.2.0-betaFixed in: 4.2.8Fix
composer require moodle/moodle:^4.2.8References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38276[ADVISORY]
- https://github.com/moodle/moodle/commit/f2807dee5bc777d9c58b7a70cba6e4c21ee02ea1[WEB]
- https://github.com/moodle/moodle/commit/e23f603c41055ab92f9b430cf0e7a54b4e120f95[WEB]
- https://github.com/moodle/moodle/commit/e1dab5f38166a2ff62983178f7bf8f0ed3a61090[WEB]
- https://github.com/moodle/moodle/commit/dc84fcfab06a4a0fe37797b8422e9fe3a1031c3e[WEB]
- https://github.com/moodle/moodle/commit/da8e8cee6ffaf7c184eded97e1016f20c9de0561[WEB]
- https://github.com/moodle/moodle/commit/c5b1604e8136db6d72057dd8052955058489206c[WEB]
- https://github.com/moodle/moodle/commit/c1aacb3e2884ea4dcc221c5ef2e449ce345f78ae[WEB]
- https://github.com/moodle/moodle/commit/c18b59808cefe7b54c85dce6bf2cc71601080667[WEB]
- https://github.com/moodle/moodle/commit/a0d8c025f732d5c18a2b9d1a8e5cbee35dce86f4[WEB]
- https://github.com/moodle/moodle/commit/9af9711c0a78ebad87d49bcb369ff813bc57d0a7[WEB]
- https://github.com/moodle/moodle/commit/756090ed79aa056d0b5f58e7a1dff67f139f76b4[WEB]
- https://github.com/moodle/moodle/commit/57f20b6cb352893871c3afdfa8a4c09a96e16764[WEB]
- https://github.com/moodle/moodle/commit/31ced0851189a6879e4cd27c7e65d21dd9d6e87e[WEB]
- https://github.com/moodle/moodle/commit/30fadc3686fa7490860a0bd87a29636139dfb371[WEB]
- https://github.com/moodle/moodle/commit/137d311fd1354c679b974633512a771e6e0559a1[WEB]
- https://github.com/moodle/moodle/commit/093aedf79889114d004495f05969168b646b0285[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E[WEB]
- https://moodle.org/mod/forum/discuss.php?d=459501[WEB]
- https://github.com/moodle/moodle[PACKAGE]