CVE-2024-38276 moodle: CSRF risks due to misuse of confirm_sesskey
Attackers can perform unauthorized actions on behalf of authenticated users due to incorrect CSRF token validation in Moodle.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-38276?
CVE-2024-38276 is a high-severity vulnerability in Fedoraproject Fedora, published on 18 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Incorrect CSRF token checks resulted in multiple CSRF risks.
Weakness: CWE-352
Which versions are affected by CVE-2024-38276?
9 open source packages ship an affected version, including moodle/moodle and moodle. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
moodle/moodle Packagist | All versions | 4.1.11 |
moodle/moodle Packagist | All versions | 4.1.11 |
moodle/moodle Packagist | From 4.2.0-beta | 4.2.8 |
moodle/moodle Packagist | From 4.2.0-beta | 4.2.8 |
moodle/moodle Packagist | From 4.3.0-beta | 4.3.5 |
moodle/moodle Packagist | From 4.3.0-beta | 4.3.5 |
3 more packages
moodle/moodle Packagist | From 4.4.0-beta | 4.4.1 |
moodle/moodle Packagist | From 4.4.0-beta | 4.4.1 |
moodle Bitnami | All versions | 4.1.10, 4.2.8, 4.3.5, 4.4.1 |
Products include Fedoraproject Fedora, Moodle Moodle.
How do I fix CVE-2024-38276?
Upgrade moodle/moodle to a fixed version for your release line: 4.1.11, 4.2.8, 4.3.5 or 4.4.1.
Is CVE-2024-38276 being exploited?
There is no known exploitation of CVE-2024-38276 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BIT-moodle-2024-38276, GHSA-356g-7x36-7m34, UBUNTU-CVE-2024-38276.