CVE-2014-3546: Moodle allows attackers to obtain username and course information
Summary
CVE-2014-3546: Moodle allows attackers to obtain username and course information. Affects moodle/moodle across 4 version ranges.
< 2.4.11
>= 2.5.0, < 2.5.7
>= 2.6.0, < 2.6.4
>= 2.7.0, < 2.7.1
Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Moodle is an open-source learning management system (LMS) used by educational institutions to create and deliver online courses. It provides a platform for educators to manage course content, interact with students, and track their progress. Moodle is widely adopted and has a large user base. However, versions prior to 2.7.1 are vulnerable to an information disclosure issue.
Vulnerability Detail
The vulnerability in Moodle versions through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allows remote attackers to obtain potentially sensitive username and course information. This is due to the lack of enforcement of certain capability requirements in the 'notes/index.php' and 'user/edit.php' files. Attackers can exploit this vulnerability by modifying the URL to access user and course information that should be restricted.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
< 2.4.112.4.11composer require moodle/moodle:2.4.11 -
>= 2.5.0, < 2.5.72.5.7composer require moodle/moodle:2.5.7 -
>= 2.6.0, < 2.6.42.6.4composer require moodle/moodle:2.6.4 -
>= 2.7.0, < 2.7.12.7.1composer require moodle/moodle:2.7.1
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
If upgrading to the latest version is not immediately feasible, a temporary workaround is to restrict access to the 'notes/index.php' and 'user/edit.php' files. This can be done by modifying the server configuration or implementing access control rules to block unauthorized access to these files.
Conclusion
The vulnerability in Moodle versions prior to 2.7.1 allows attackers to obtain sensitive username and course information. It is crucial to upgrade to the latest version or apply the recommended workaround to mitigate the risk. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for moodle/moodle →
FAQ
Moodle is an open-source learning management system used by educational institutions to create and deliver online courses.
Moodle versions through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 are affected.
Attackers can exploit this vulnerability by modifying the URL to access user and course information that should be restricted.
The recommended solution is to upgrade to Moodle version 2.7.1 or later, which includes the necessary fixes for this vulnerability.
A temporary workaround is to restrict access to the 'notes/index.php' and 'user/edit.php' files by modifying the server configuration or implementing access control rules.
References
Related vulnerabilities
Recent vulnerabilities recorded for moodle/moodle.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.