VDB
Sign up
MEDIUM5.3

GHSA-c5cj-xp43-qcc3

Moodle's error handling leads to sensitive information disclosure

Quick fix

GHSA-c5cj-xp43-qcc3 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^5.0.3

Details

An error-handling issue in the Moodle router (r.php) could cause the application to display internal directory listings when specific HTTP headers were not properly configured.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 5.0.0-betaFixed in: 5.0.3
Fixcomposer require moodle/moodle:^5.0.3
Packagist/moodle/moodle
Introduced in: 4.5.0-betaFixed in: 4.5.7
Fixcomposer require moodle/moodle:^4.5.7

References