CVE-2017-2642: Moodle User fullname disclosure on user preferences page

moodle/moodle Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Moderate
6.5

CVE-2017-2642: Moodle User fullname disclosure on user preferences page. Affects moodle/moodle across 3 version ranges.

>= 3.1, < 3.1.7 >= 3.2, < 3.2.4 >= 3.3, < 3.3.1

Fixed in 3.1.7, 3.2.4 or 3.3.1, 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 widely used in educational institutions. It provides a platform for creating and managing online courses, allowing educators to interact with students and facilitate learning. The Moodle package, specifically versions 3.1 to 3.3, is affected by a vulnerability that leads to user fullname disclosure on the user preferences page.

Vulnerability Detail

The vulnerability in Moodle 3.x allows an attacker to access and disclose the full names of users through the user preferences page. This can potentially lead to privacy breaches and expose sensitive information. The issue arises due to a lack of proper access controls and validation mechanisms in the affected versions of Moodle.

How To Fix

Fixed versions by release line

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

  • >= 3.1, < 3.1.7 3.1.7
    composer require moodle/moodle:3.1.7
  • >= 3.2, < 3.2.4 3.2.4
    composer require moodle/moodle:3.2.4
  • >= 3.3, < 3.3.1 3.3.1
    composer require moodle/moodle:3.3.1

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, users can manually modify the code to implement stricter access controls and validation mechanisms. However, it is strongly advised to apply the official patches and upgrade to the latest versions of Moodle to ensure comprehensive security.

Conclusion

The vulnerability in Moodle versions 3.1 to 3.3 allows unauthorized access to user fullnames, potentially compromising privacy and exposing sensitive information. It is crucial to apply the provided patches and upgrade to the latest versions of Moodle to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for moodle/moodle →

Share this vulnerability

FAQ

The vulnerability allows unauthorized access to user fullnames, potentially leading to privacy breaches and exposure of sensitive information.

Users of Moodle versions 3.1 to 3.3 are affected by this vulnerability.

There are no known exploits for this vulnerability at the moment.

No, this vulnerability requires an authenticated user to exploit it.

Yes, patches have been released to fix this vulnerability. Upgrading to the latest versions of Moodle is recommended.

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.7 3.1.7
    composer require moodle/moodle:3.1.7
  • >= 3.2, < 3.2.4 3.2.4
    composer require moodle/moodle:3.2.4
  • >= 3.3, < 3.3.1 3.3.1
    composer require moodle/moodle:3.3.1

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