Moodle does not properly restrict file access
Moderate severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Jan 24, 2024
Package
Affected versions
< 2.4.10
>= 2.5.0, < 2.5.6
>= 2.6.0, < 2.6.3
Patched versions
2.4.10
2.5.6
2.6.3
Description
Published by the National Vulnerability Database
May 27, 2014
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Jan 24, 2024
Last updated
Jan 24, 2024
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.
References