CVE-2024-45689 Moodle: unprotected access to sensitive information via dynamic tables

Medium 6.5 Published Updated

Attackers can access sensitive information in dynamic tables without proper permission checks, exposing data to unauthorized users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-45689?

CVE-2024-45689 is a medium-severity missing authorization vulnerability in Moodle Moodle, published on 20 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in Moodle. Dynamic tables did not enforce capability checks, which resulted in users having the ability to retrieve information they did not have permission to access.

Weakness: CWE-862

Which versions are affected by CVE-2024-45689?

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

PackageAffectedFixed in
moodle/moodle PackagistAll versions4.1.13
moodle/moodle PackagistAll versions4.1.13
moodle/moodle PackagistFrom 4.2.0-beta4.2.10
moodle/moodle PackagistFrom 4.2.0-beta4.2.10
moodle/moodle PackagistFrom 4.3.0-beta4.3.7
moodle/moodle PackagistFrom 4.3.0-beta4.3.7
3 more packages
moodle/moodle PackagistFrom 4.4.0-beta4.4.3
moodle/moodle PackagistFrom 4.4.0-beta4.4.3
moodle BitnamiAll versions4.1.13, 4.2.10, 4.3.7, 4.4.3

Products include Moodle Moodle.

How do I fix CVE-2024-45689?

Upgrade moodle/moodle to a fixed version for your release line: 4.1.13, 4.2.10, 4.3.7 or 4.4.3.

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

Is CVE-2024-45689 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as BIT-moodle-2024-45689, GHSA-j822-x5gg-5r56, UBUNTU-CVE-2024-45689.

Is CVE-2024-45689 in your software?

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

Check your SBOMs for free