Moodle does not enforce the forceloginforprofiles setting
Impact
user/view.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 does not enforce the forceloginforprofiles setting, which allows remote attackers to obtain sensitive course-profile information by leveraging the guest role, as demonstrated by a Google search.
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 through 2.1.10 (inclusive)Ecosystem versions | Not recorded |
| From 2.2.0 before 2.2.8Ecosystem versions | 2.2.8 |
| From 2.3.0 before 2.3.5Ecosystem versions | 2.3.5 |
| From 2.4.0 before 2.4.2Ecosystem versions | 2.4.2 |
Version evidence: OSV · GHSA-8r7x-qq55-74v2
View original version evidence (3 explicit versions)
Original source description
user/view.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 does not enforce the forceloginforprofiles setting, which allows remote attackers to obtain sensitive course-profile information by leveraging the guest role, as demonstrated by a Google search.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2013-1830
- Patch github.com/moodle/moodle/commit/3ecc63e9dbe29c6a5a8f65fa8e7980ba0fffb5a8
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php
- Source reference git.moodle.org/gw
- Source reference lists.fedoraproject.org/pipermail/package-announce/2013-April/101310.html
- Source reference lists.fedoraproject.org/pipermail/package-announce/2013-April/101358.html
- Security advisory openwall.com/lists/oss-security/2013/03/25/2