CVE-2018-1082 Moodle Improper Authentication

High 8.1 Published Updated

Suspended users with OAuth2 authentication can bypass account restrictions and log in to the Moodle site.

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

What is CVE-2018-1082?

CVE-2018-1082 is a high-severity authentication bypass vulnerability in Moodle Moodle, published on 4 Apr 2018. 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 3.4 to 3.4.1, and 3.3 to 3.3.4. If a user account using OAuth2 authentication method was once confirmed but later suspended, the user could still login to the site.

Weakness: CWE-287, CWE-285

Which versions are affected by CVE-2018-1082?

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

PackageAffectedFixed in
moodle/moodle PackagistFrom 3.33.3.5
moodle/moodle PackagistFrom 3.33.3.5
moodle/moodle PackagistFrom 3.43.4.2
moodle/moodle PackagistFrom 3.43.4.2

Products include Moodle Moodle.

How do I fix CVE-2018-1082?

Upgrade moodle/moodle to a fixed version for your release line: 3.3.5 or 3.4.2.

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

Is CVE-2018-1082 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-qh8m-6g4p-33h3, UBUNTU-CVE-2018-1082.

Is CVE-2018-1082 in your software?

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

Check your SBOMs for free