CVE-2024-38276 moodle: CSRF risks due to misuse of confirm_sesskey

High 8.8 Published Updated

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.

PackageAffectedFixed in
moodle/moodle PackagistAll versions4.1.11
moodle/moodle PackagistAll versions4.1.11
moodle/moodle PackagistFrom 4.2.0-beta4.2.8
moodle/moodle PackagistFrom 4.2.0-beta4.2.8
moodle/moodle PackagistFrom 4.3.0-beta4.3.5
moodle/moodle PackagistFrom 4.3.0-beta4.3.5
3 more packages
moodle/moodle PackagistFrom 4.4.0-beta4.4.1
moodle/moodle PackagistFrom 4.4.0-beta4.4.1
moodle BitnamiAll versions4.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.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-moodle-2024-38276, GHSA-356g-7x36-7m34, UBUNTU-CVE-2024-38276.

Is CVE-2024-38276 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free