CVE-2025-3645: Moodle Messaging Web Service IDOR Vulnerability

moodle/moodle Updated 02 Oct 2025

Summary

25/04/2025
Yes i
Moderate
4.3

CVE-2025-3645: Moodle has an IDOR in messaging web service which allows access to some user details. Affects moodle/moodle across 4 version ranges.

< 4.1.18 >= 4.3.0-beta, < 4.3.12 >= 4.4.0-beta, < 4.4.8 >= 4.5.0-beta, < 4.5.4

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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Moodle is a widely used open-source learning platform designed to provide educators, administrators, and learners with a single robust, secure, and integrated system to create personalized learning environments. It offers various features such as course management, user management, and messaging services. However, Moodle has been found to have a vulnerability in its messaging web service that allows users to access details of other users without proper authorization.

Vulnerability Detail

A flaw was discovered in Moodle's messaging web service due to insufficient capability checks. This vulnerability allows users to view sensitive information such as other users' names and online statuses, potentially leading to privacy breaches and unauthorized access to user data. The vulnerability is classified as an Insecure Direct Object Reference (IDOR), which is a common issue where an application does not properly validate user permissions before granting access to resources.

How To Fix

Fixed versions by release line

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

  • < 4.1.18 4.1.18
    composer require moodle/moodle:4.1.18
  • >= 4.3.0-beta, < 4.3.12 4.3.12
    composer require moodle/moodle:4.3.12
  • >= 4.4.0-beta, < 4.4.8 4.4.8
    composer require moodle/moodle:4.4.8
  • >= 4.5.0-beta, < 4.5.4 4.5.4
    composer require moodle/moodle:4.5.4

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

Workaround

As a temporary workaround, administrators can restrict access to the messaging web service until the package is updated. This can be done by modifying the service settings in the Moodle administration panel to limit user interactions.

Conclusion

In summary, the IDOR vulnerability in Moodle's messaging web service poses a risk to user privacy and data security. It is crucial for users to update to the latest patched versions to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for moodle/moodle →

Share this vulnerability

FAQ

The vulnerability is an Insecure Direct Object Reference (IDOR) in Moodle's messaging web service, allowing unauthorized access to user details.

You can check if your application is affected by using Vulert's playground at Vulert Scanner, which analyzes your composer.lock file for vulnerabilities.

The risks include unauthorized access to user information, potential privacy violations, and the possibility of further exploitation of user data.

Yes, you can restrict access to the messaging web service temporarily until the patch is applied.

The CVSS score of this vulnerability is 4.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for moodle/moodle.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

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

  • < 4.1.18 4.1.18
    composer require moodle/moodle:4.1.18
  • >= 4.3.0-beta, < 4.3.12 4.3.12
    composer require moodle/moodle:4.3.12
  • >= 4.4.0-beta, < 4.4.8 4.4.8
    composer require moodle/moodle:4.4.8
  • >= 4.5.0-beta, < 4.5.4 4.5.4
    composer require moodle/moodle:4.5.4

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