Description
lib/filelib.php in Moodle 2.1.x before 2.1.7 and 2.2.x before 2.2.4 does not properly restrict file access after a block has been hidden, which allows remote authenticated users to obtain sensitive information by reading a file that is embedded in a block.
Remediation
References
Related Vulnerabilities
MySQL Other Vulnerability (CVE-2016-0705)
Moodle Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2013-2243)
Moodle Permissions, Privileges, and Access Controls Vulnerability (CVE-2012-2359)
Moodle Insertion of Sensitive Information into Log File Vulnerability (CVE-2018-10889)