VDB
Sign up
HIGH7.5

GHSA-345q-9jmq-g9q4

Moodle allows unauthenticated REST API user data exposure

Quick fix

GHSA-345q-9jmq-g9q4 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.5.3

Details

A flaw has been identified in Moodle where, on certain sites, unauthenticated users could retrieve sensitive user data—including names, contact information, and hashed passwords—via stack traces returned by specific API calls. Sites where PHP is configured with zend.exception_ignore_args = 'On' or zend.exception_ignore_args = 1 in the relevant php.ini file are NOT affected by this vulnerability. Sites that do not have the zend.exception_ignore_args setting enabled and are using the internal Moodle LMS authentication system are affected by this vulnerability.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.5.0-betaFixed in: 4.5.3
Fixcomposer require moodle/moodle:^4.5.3

References