CVE-2014-0216
Moodle does not properly restrict file access
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2014-0216- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2014-0216- Updated
- 2026-11-02
EUVDEUVD-2022-3226 No score
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.
- Record
EUVD-2022-3226- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8rc7-4qfv-4484 No score
Moodle does not properly restrict file access
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.
- Record
GHSA-8rc7-4qfv-4484- Updated
- 2026-11-02
OSVGHSA-8rc7-4qfv-4484 No score
Moodle does not properly restrict file access
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.
- Record
GHSA-8rc7-4qfv-4484- Updated
- 2026-11-02
OSVMGASA-2014-0230 No score
Updated moodle packages fix multiple vulnerabilities
Updated moodle package fixes security vulnerabilities:
In Moodle before 2.6.3, Session checking was not being performed correctly in Assignment's quick-grading, allowing forged requests to be made unknowingly by authenticated users (CVE-2014-0213).
In Moodle before 2.6.3, MoodleMobile web service tokens, created automatically in login/token.php, were not expiring and were valid forever (CVE-2014-0214).
In Moodle before 2.6.3, Some student details, including identities, were included in assignment marking pages and would have been revealed to screen readers or through code inspection (CVE-2014-0215).
In Moodle before 2.6.3, Access to files linked on HTML blocks on the My home page was not being checked in the correct context, allowing access to unauthenticated users (CVE-2014-0216).
In Moodle before 2.6.3, There was a lack of filtering in the URL downloader repository that could have been exploited for XSS (CVE-2014-0218).
The 2.4 branch of Moodle will no longer be supported as of approximately June 2014, so the Moodle package has been upgraded to version 2.6.3 to fix these issues.
- Record
MGASA-2014-0230- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
before 2.4.10 | 2.4.10 |
moodle/moodlePackagist |
2.5.0 up to 2.5.6 | 2.5.6 |
moodle/moodlePackagist |
2.6.0 up to 2.6.3 | 2.6.3 |
moodle/moodlePackagist |
before 2.4.10, plus listed versions v2.3.10v2.3.11v2.3.4v2.3.5v2.3.6 Show 14 moreShow lessv2.3.7v2.3.8v2.3.9v2.4.0v2.4.0-rc1v2.4.1v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6v2.4.7v2.4.8v2.4.9 |
2.4.10 |
moodle/moodlePackagist |
2.5.0 up to 2.5.6, plus listed versions v2.5.0v2.5.1v2.5.2v2.5.3v2.5.4v2.5.5 |
2.5.6 |
moodle/moodlePackagist |
2.6.0 up to 2.6.3, plus listed versions v2.6.0v2.6.1v2.6.2 |
2.6.3 |
moodleMageia:3 From an advisory covering 5 CVEs |
before 2.6.3-1.mga3 | 2.6.3-1.mga3 |
moodleMageia:4 From an advisory covering 5 CVEs |
before 2.6.3-1.mga4 | 2.6.3-1.mga4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-0216 is a medium vulnerability (CVSS 5.0) in Moodle, published May 19, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.12%, the 81st percentile. Fixed in moodle/moodle 2.4.10.
References
moodle.org/mod/forum/discuss.php?d=260364
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-43877
openwall.com/lists/oss-security/2014/05/19/1
nvd.nist.gov/vuln/detail/CVE-2014-0216
github.com/moodle/moodle/commit/40ad22fdd0d9ed569b2ad0ff6ad02814bfa014b8
github.com/moodle/moodle/commit/568514ee7f7e994f61e7a44356fe89d0dd18c157
Show 12 moreShow less
github.com/moodle/moodle/commit/7b9acc77efe06f7be7070032b05c3159e0a6d415
github.com/moodle/moodle/commit/b04bf988ef47f8fa65dd08ce936ecb774d5d76bd
github.com/advisories/GHSA-8rc7-4qfv-4484
github.com/moodle/moodle
advisories.mageia.org/MGASA-2014-0230.html
moodle.org/mod/forum/discuss.php?d=260361
moodle.org/mod/forum/discuss.php?d=260362
moodle.org/mod/forum/discuss.php?d=260363
moodle.org/mod/forum/discuss.php?d=260366
docs.moodle.org/dev/Moodle_2.4.10_release_notes
docs.moodle.org/dev/Moodle_2.6.3_release_notes
bugs.mageia.org/show_bug.cgi?id=13369