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.
{
"severity": "MODERATE",
"cwe_ids": [
"CWE-284"
],
"nvd_published_at": "2013-03-25T21:55:00Z",
"github_reviewed": true,
"github_reviewed_at": "2024-01-19T16:05:11Z"
}