CVE-2019-3849: Moodle Users could elevate their role when accessing the LTI tool on a provider site

moodle/moodle Updated 02 Oct 2025

Summary

13/05/2022
Yes i
High
8.8

CVE-2019-3849: Moodle Users could elevate their role when accessing the LTI tool on a provider site. Affects moodle/moodle across 3 version ranges.

< 3.4.8 >= 3.5, < 3.5.5 >= 3.6, < 3.6.3

Fixed in 3.4.8, 3.5.5 or 3.6.3, 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 teachers and students to interact, share resources, and participate in various activities. Moodle is widely used and offers a range of features to support online learning. However, a vulnerability has been discovered in versions 3.6.3, 3.5.5, and 3.4.8 of Moodle that allows users to assign themselves an escalated role within courses or content accessed via the Learning Tools Interoperability (LTI) tool. LTI is a standard for integrating external tools and content into learning management systems, allowing users to access external resources seamlessly. This vulnerability can be exploited by modifying the request to the LTI publisher site, potentially leading to unauthorized access and privilege escalation.

Vulnerability Detail

The vulnerability in Moodle versions 3.6.3, 3.5.5, and 3.4.8 allows users to elevate their role within courses or content accessed via the LTI tool. By modifying the request to the LTI publisher site, users can assign themselves an escalated role, granting them unauthorized access and privileges. This can have serious ramifications, as users with elevated roles may gain unrestricted access to sensitive information, manipulate course content, or disrupt the learning environment. The vulnerability has a CVSS score of 8.8, 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.4.8 3.4.8
    composer require moodle/moodle:3.4.8
  • >= 3.5, < 3.5.5 3.5.5
    composer require moodle/moodle:3.5.5
  • >= 3.6, < 3.6.3 3.6.3
    composer require moodle/moodle:3.6.3

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. The recommended solution is to upgrade to the patched versions of Moodle.

Conclusion

In conclusion, Moodle versions 3.6.3, 3.5.5, and 3.4.8 are vulnerable to a privilege escalation issue when accessing the LTI tool on a provider site. Users can assign themselves an escalated role by modifying the request to the LTI publisher site, potentially leading to unauthorized access and privilege escalation. It is crucial to upgrade to the latest patched versions of Moodle to mitigate this vulnerability and ensure the security of the online learning environment. For further support on 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 (LMS) used by educational institutions to create and manage online courses.

The Learning Tools Interoperability (LTI) tool is a standard for integrating external tools and content into learning management systems, allowing users to access external resources seamlessly.

This vulnerability can be exploited by modifying the request to the LTI publisher site, allowing users to assign themselves an escalated role within courses or content accessed via the LTI tool.

The vulnerability can lead to unauthorized access and privilege escalation, allowing users to gain unrestricted access to sensitive information, manipulate course content, or disrupt the learning environment.

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

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.4.8 3.4.8
    composer require moodle/moodle:3.4.8
  • >= 3.5, < 3.5.5 3.5.5
    composer require moodle/moodle:3.5.5
  • >= 3.6, < 3.6.3 3.6.3
    composer require moodle/moodle:3.6.3

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