Bug 1052000 (CVE-2014-0009) - CVE-2014-0009 moodle: group constraint checking issue for loginas (MSA-14-0002)
Summary: CVE-2014-0009 moodle: group constraint checking issue for loginas (MSA-14-0002)
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2014-0009
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1055388 1055390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 05:11 UTC by Murray McAllister
Modified: 2019-09-29 13:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-22 15:37:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Murray McAllister 2014-01-13 05:11:44 UTC
Itamar Tzadok found an issue in the group constraint checking for loginas. In some cases if a user had loginas privileges but not the site:accessallgroups capability, they could use this flaw to log in as a user not in their group. This issue affected Moodle versions 2.6, 2.5 to 2.5.4, 2.4 to 2.4.7, 2.3 to 2.3.10 and earlier unsupported versions. It has been fixed in 2.6.1, 2.5.4, 2.4.8 and 2.3.11.

I have not checked if versions 1.9.19 in EPEL 5 is affected or not.

According to the Moodle documentation, loginas cannot be used to log in as an administrator:

http://docs.moodle.org/25/en/Capabilities/moodle/user:loginas

Patch:

http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-42643

Comment 1 Ratul Gupta 2014-01-20 07:21:42 UTC
Created moodle tracking bugs for this issue:

Affects: fedora-all [bug 1055388]
Affects: epel-all [bug 1055390]

Comment 2 Murray McAllister 2014-01-20 23:29:20 UTC
Upstream announcement:

https://moodle.org/mod/forum/discuss.php?d=252415


Note You need to log in before you can comment on or make changes to this bug.