VDB
Sign up
MEDIUM6.9

GHSA-vm9c-39jx-q45w

Moodle vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Quick fix

GHSA-vm9c-39jx-q45w — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.3.10

Details

lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.3.10
Fixcomposer require moodle/moodle:^2.3.10
Packagist/moodle/moodle
Introduced in: 2.4.0-betaFixed in: 2.4.7
Fixcomposer require moodle/moodle:^2.4.7
Packagist/moodle/moodle
Introduced in: 2.5.0-betaFixed in: 2.5.3
Fixcomposer require moodle/moodle:^2.5.3

References