CVE-2021-20282 Moodle Bypass email verification secret when confirming account registration

Medium 5.3 Published Updated

Attackers can bypass email verification during account creation in Moodle, potentially leading to unauthorized account access.

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

What is CVE-2021-20282?

CVE-2021-20282 is a medium-severity authentication bypass vulnerability in Fedoraproject Fedora, published on 15 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

When creating a user account, it was possible to verify the account without having access to the verification email link/secret in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.

Weakness: CWE-863

Which versions are affected by CVE-2021-20282?

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

PackageAffectedFixed in
moodle/moodle PackagistFrom 3.103.10.2
moodle/moodle PackagistFrom 3.103.10.2
moodle/moodle PackagistFrom 3.53.5.17
moodle/moodle PackagistFrom 3.53.5.17
moodle/moodle PackagistFrom 3.83.8.8
moodle/moodle PackagistFrom 3.83.8.8
3 more packages
moodle/moodle PackagistFrom 3.93.9.5
moodle/moodle PackagistFrom 3.93.9.5
moodle BitnamiFrom 3.5.03.5.17, 3.8.8, 3.9.5, 3.10.2

Products include Fedoraproject Fedora, Moodle Moodle.

How do I fix CVE-2021-20282?

Upgrade moodle/moodle to a fixed version for your release line: 3.10.2, 3.5.17, 3.8.8 or 3.9.5.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2021-20282 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-moodle-2021-20282, GHSA-grj4-g57c-9xmv, UBUNTU-CVE-2021-20282.

Is CVE-2021-20282 in your software?

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

Check your SBOMs for free