{"id":"CVE-2011-4295","aliases":["EUVD-2011-4232","GHSA-7q33-5wgv-9752"],"status":"published","title":"The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2...","description":"The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not have an authorization check, which allows remote authenticated users to gain privileges by making a role assignment.","severity":{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01272,"percentile":0.70059,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-264"],"published":"2012-07-16T10:00:00Z","modified":"2026-06-16T23:34:43Z","products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://openwall.com/lists/oss-security/2011/11/14/1","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=d20f655d59cd486fd9b3a26ad353af13daafd1d3","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://moodle.org/mod/forum/discuss.php?d=182738","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4295"},{"url":"http://git.moodle.org/gw?p=moodle.git;a=commit;h=d20f655d59cd486fd9b3a26ad353af13daafd1d3"},{"url":"https://github.com/advisories/GHSA-7q33-5wgv-9752"}],"sources":{"cve":[{"id":"CVE-2011-4295","description":"The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not have an authorization check, which allows remote authenticated users to gain privileges by making a role assignment.","status":"published","published":"2012-07-16T10:00:00Z","modified":"2024-08-07T00:01:51.588Z","updated_at":"2026-11-02T14:35:37.671707Z"}],"euvd":[{"id":"EUVD-2011-4232","description":"The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not have an authorization check, which allows remote authenticated users to gain privileges by making a role assignment.","status":"published","published":"2012-07-16T10:00:00Z","modified":"2024-08-07T00:01:51Z","updated_at":"2026-11-03T01:39:49.441333Z"}],"ghsa":[{"id":"GHSA-7q33-5wgv-9752","title":"The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2...","description":"The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not have an authorization check, which allows remote authenticated users to gain privileges by making a role assignment.","status":"published","published":"2022-05-13T01:13:15Z","modified":"2023-02-13T00:30:47Z","updated_at":"2026-11-02T14:54:04.926808Z"}],"nvd":[{"id":"CVE-2011-4295","description":"The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not have an authorization check, which allows remote authenticated users to gain privileges by making a role assignment.","status":"published","published":"2012-07-16T10:28:37.143Z","modified":"2026-06-16T23:34:43.3Z","cvss":[{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:12.272092Z"}]}}
