CVE-2018-1134: Moodle Improper Privilege Management

moodle/moodle Updated 02 Oct 2025

Summary

13/05/2022
Yes i
Moderate
6.5

CVE-2018-1134: Moodle Improper Privilege Management. Affects moodle/moodle across 4 version ranges.

>= 3.1, < 3.1.12 >= 3.2, < 3.2.9 >= 3.3, < 3.3.6 >= 3.4, < 3.4.3

Fixed in 4 releases; the minimum fixed version depends 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 used by educational institutions to create and manage online courses. It provides various features for instructors and students, including assignment submission and portfolio export functionality. However, a vulnerability has been discovered in Moodle 3.x versions. This vulnerability allows students who have submitted assignments and exported them to portfolios to download any stored Moodle file by manipulating the download URL.

Vulnerability Detail

The vulnerability in Moodle 3.x arises from improper privilege management. Students, who should only have access to their own submitted assignments and exported files, can bypass the intended restrictions and download any Moodle file. By modifying the download URL, they can retrieve sensitive information or unauthorized files. This vulnerability poses a moderate risk and can lead to unauthorized access to confidential data or the exposure of sensitive files.

How To Fix

Fixed versions by release line

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

  • >= 3.1, < 3.1.12 3.1.12
    composer require moodle/moodle:3.1.12
  • >= 3.2, < 3.2.9 3.2.9
    composer require moodle/moodle:3.2.9
  • >= 3.3, < 3.3.6 3.3.6
    composer require moodle/moodle:3.3.6
  • >= 3.4, < 3.4.3 3.4.3
    composer require moodle/moodle:3.4.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 provided for this vulnerability. The recommended solution is to upgrade to the patched versions of Moodle as mentioned above.

Conclusion

The vulnerability in Moodle 3.x versions allows students to download unauthorized files by manipulating the download URL. To mitigate this risk, it is crucial to upgrade to the patched versions of Moodle (3.1.12, 3.2.9, 3.3.6, or 3.4.3). This will ensure that the improper privilege management issue is resolved and prevent unauthorized access to sensitive files. 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 used by educational institutions to create and manage online courses.

This vulnerability allows students to download any stored Moodle file by manipulating the download URL, potentially leading to unauthorized access to confidential data or exposure of sensitive files.

Moodle 3.x versions are affected by this vulnerability.

To fix this vulnerability, it is recommended to upgrade to the patched versions of Moodle: 3.1.12, 3.2.9, 3.3.6, or 3.4.3.

No specific workaround is provided for this vulnerability. Upgrading to the patched versions is the recommended solution.

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.1, < 3.1.12 3.1.12
    composer require moodle/moodle:3.1.12
  • >= 3.2, < 3.2.9 3.2.9
    composer require moodle/moodle:3.2.9
  • >= 3.3, < 3.3.6 3.3.6
    composer require moodle/moodle:3.3.6
  • >= 3.4, < 3.4.3 3.4.3
    composer require moodle/moodle:3.4.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