MEDIUM
GHSA-8rc7-4qfv-4484
Moodle does not properly restrict file access
Quick fix
GHSA-8rc7-4qfv-4484 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.4.10Details
The My Home implementation in the block_html_pluginfile function in blocks/html/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 does not properly restrict file access, which allows remote attackers to obtain sensitive information by visiting an HTML block.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0216[ADVISORY]
- https://github.com/moodle/moodle/commit/40ad22fdd0d9ed569b2ad0ff6ad02814bfa014b8[WEB]
- https://github.com/moodle/moodle/commit/568514ee7f7e994f61e7a44356fe89d0dd18c157[WEB]
- https://github.com/moodle/moodle/commit/7b9acc77efe06f7be7070032b05c3159e0a6d415[WEB]
- https://github.com/moodle/moodle/commit/b04bf988ef47f8fa65dd08ce936ecb774d5d76bd[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=260364[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-43877[WEB]
- http://openwall.com/lists/oss-security/2014/05/19/1[WEB]