CVE-2024-45690 Moodle: idor when deleting oauth2 linked accounts

High 7.5 Published Updated

Attackers can delete other users' OAuth2-linked accounts due to missing authorization checks in Moodle.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-45690?

CVE-2024-45690 is a high-severity missing authorization vulnerability in Moodle Moodle, published on 20 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in Moodle. Additional checks were required to ensure users can only delete their OAuth2-linked accounts.

Weakness: CWE-276

Which versions are affected by CVE-2024-45690?

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-45690?

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-45690 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as BIT-moodle-2024-45690, GHSA-fhg2-r2h9-h7q8, UBUNTU-CVE-2024-45690.

Is CVE-2024-45690 in your software?

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

Check your SBOMs for free