GHSA-8rc7-4qfv-4484
Moodle does not properly restrict file access
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | moodle/moodle | < 2.4.10 | 2.4.10 |
| Packagist | moodle/moodle | >= 2.5.0, < 2.5.6 | 2.5.6 |
| Packagist | moodle/moodle | >= 2.6.0, < 2.6.3 | 2.6.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2014-0216
- https://github.com/moodle/moodle/commit/40ad22fdd0d9ed569b2ad0ff6ad02814bfa014b8
- https://github.com/moodle/moodle/commit/568514ee7f7e994f61e7a44356fe89d0dd18c157
- https://github.com/moodle/moodle/commit/7b9acc77efe06f7be7070032b05c3159e0a6d415
- https://github.com/moodle/moodle/commit/b04bf988ef47f8fa65dd08ce936ecb774d5d76bd
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=260364
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-43877
- http://openwall.com/lists/oss-security/2014/05/19/1