CVE-2024-33996 moodle: broken access control when setting calendar event type

Medium 6.2 Published Updated

Attackers can create calendar events with unauthorized types or audiences due to incorrect validation in the web service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-33996?

CVE-2024-33996 is a medium-severity missing authorization vulnerability in Moodle Moodle, published on 31 May 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Incorrect validation of allowed event types in a calendar web service made it possible for some users to create events with types/audiences they did not have permission to publish to.

Weakness: CWE-20

Which versions are affected by CVE-2024-33996?

7 open source packages ship an affected version, including moodle/moodle and moodle. It affects 1 product.

PackageAffectedFixed in
moodle/moodle PackagistAll versions4.1.10
moodle/moodle PackagistAll versions4.1.10
moodle/moodle PackagistFrom 4.2.04.2.7
moodle/moodle PackagistFrom 4.2.04.2.7
moodle/moodle PackagistFrom 4.3.04.3.4
moodle/moodle PackagistFrom 4.3.04.3.4
1 more packages
moodle BitnamiAll versions4.1.10, 4.2.7, 4.3.4

Products include Moodle Moodle.

How do I fix CVE-2024-33996?

Upgrade moodle/moodle to a fixed version for your release line: 4.1.10, 4.2.7 or 4.3.4.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-33996 being exploited?

There is no known exploitation of CVE-2024-33996 in the wild and no public exploit code.

All Moodle Moodle vulnerabilities

Sources

Also known as BIT-moodle-2024-33996, GHSA-4qww-rxq6-x7gf, UBUNTU-CVE-2024-33996.

Is CVE-2024-33996 in your software?

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

Check your SBOMs for free