Moodle allows attackers to obtain sensitive course information
Impact
lib/moodlelib.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4, when the theme uses the blocks-regions feature, establishes the course state at an incorrect point in the login-validation process, which allows remote attackers to obtain sensitive course information via unspecified vectors.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.6.9Ecosystem versions | 2.6.9 |
| From 2.7.0 before 2.7.6Ecosystem versions | 2.7.6 |
| From 2.8.0 before 2.8.4Ecosystem versions | 2.8.4 |
Version evidence: OSV · GHSA-fp4h-j22r-vwcv
View original version evidence (54 explicit versions)
Original source description
lib/moodlelib.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4, when the theme uses the blocks-regions feature, establishes the course state at an incorrect point in the login-validation process, which allows remote attackers to obtain sensitive course information via unspecified vectors.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2015-2270
- Patch github.com/moodle/moodle/commit/1edd3d6fbfcc7ac757579a7953f03e3401c0c32d
- Patch github.com/moodle/moodle/commit/4ab4ec652cb7768a058eca7f69362e76d9ee0c62
- Patch github.com/moodle/moodle/commit/5f0bfb120f4a769518a77eff06fedc67c6040494
- Patch github.com/moodle/moodle/commit/cd060b5fe2b5d90ff87d3b345e5f802ef143f883
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php
- Source reference git.moodle.org/gw
- Security advisory openwall.com/lists/oss-security/2015/03/16/1