CVE-2020-25629 Moodle incorrect access control

High 8.8 Published Updated

Course managers can escalate privileges to site administration by logging in as a System manager, requiring an upgrade to patched Moodle versions.

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-2020-25629?

CVE-2020-25629 is a high-severity vulnerability in Moodle Moodle, published on 8 Dec 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Moodle where users with "Log in as" capability in a course context (typically, course managers) may gain access to some site administration capabilities by "logging in as" a System manager. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. This is fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.

Weakness: CWE-862, CWE-284

Which versions are affected by CVE-2020-25629?

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

PackageAffectedFixed in
moodle/moodle PackagistFrom 3.53.5.14
moodle/moodle PackagistFrom 3.53.5.14
moodle/moodle PackagistFrom 3.73.7.8
moodle/moodle PackagistFrom 3.73.7.8
moodle/moodle PackagistFrom 3.83.8.5
moodle/moodle PackagistFrom 3.83.8.5
3 more packages
moodle/moodle PackagistFrom 3.93.9.2
moodle/moodle PackagistFrom 3.93.9.2
moodle BitnamiFrom 3.5.03.5.14, 3.7.8, 3.8.5, 3.9.2

Products include Moodle Moodle.

How do I fix CVE-2020-25629?

Upgrade moodle/moodle to a fixed version for your release line: 3.5.14, 3.7.8, 3.8.5 or 3.9.2.

Is CVE-2020-25629 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as BIT-moodle-2020-25629, GHSA-f5r8-7h4f-jr9x, UBUNTU-CVE-2020-25629.

Is CVE-2020-25629 in your software?

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

Check your SBOMs for free