CVE-2018-1082: Moodle Improper Authentication

moodle/moodle Updated 02 Oct 2025

Summary

13/05/2022
Yes i
High
8.1

CVE-2018-1082: Moodle Improper Authentication. Affects moodle/moodle across 2 version ranges.

>= 3.3, < 3.3.5 >= 3.4, < 3.4.2

Fixed in 3.3.5 or 3.4.2, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Moodle is an open-source learning management system (LMS) used by educational institutions to create and manage online courses. It provides a platform for educators to deliver content, interact with students, and assess their progress. Moodle supports various authentication methods, including OAuth2. However, a vulnerability has been identified in Moodle versions 3.3 to 3.3.4 and 3.4 to 3.4.1, which allows users with suspended OAuth2 accounts to still log in to the site.

Vulnerability Detail

The vulnerability arises when a user account using OAuth2 authentication is confirmed but later suspended. Despite being suspended, the user can still authenticate and access the Moodle site. This improper authentication can lead to unauthorized access to sensitive information, manipulation of course content, and potential data breaches. The vulnerability has a CVSS score of 8.1, indicating a high severity level.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.3, < 3.3.5 3.3.5
    composer require moodle/moodle:3.3.5
  • >= 3.4, < 3.4.2 3.4.2
    composer require moodle/moodle:3.4.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is essential to apply the recommended fix by upgrading to the patched versions of Moodle.

Conclusion

The vulnerability in Moodle versions 3.3 to 3.3.4 and 3.4 to 3.4.1 allows users with suspended OAuth2 accounts to authenticate and access the site. To mitigate this issue, it is crucial to upgrade to the patched versions of Moodle. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for moodle/moodle →

Share this vulnerability

FAQ

Moodle is an open-source learning management system used by educational institutions to create and manage online courses.

OAuth2 is an authentication framework that allows users to grant limited access to their resources on one site to another site without sharing their credentials.

This vulnerability allows users with suspended OAuth2 accounts to still log in to the Moodle site, potentially leading to unauthorized access and data breaches.

The vulnerability has a CVSS score of 8.1, indicating a high severity level.

To fix this vulnerability, upgrade to the patched versions of Moodle (3.3.5 or later for Moodle 3.3, and 3.4.2 or later for Moodle 3.4).

Related vulnerabilities

Recent vulnerabilities recorded for moodle/moodle.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.3, < 3.3.5 3.3.5
    composer require moodle/moodle:3.3.5
  • >= 3.4, < 3.4.2 3.4.2
    composer require moodle/moodle:3.4.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.