{"id":"CVE-2011-4295","sourceIdentifier":"secalert@redhat.com","published":"2012-07-16T10:28:37.143","lastModified":"2026-06-16T23:34:43.300","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"El moodle_enrol_external:role_assign function in enrol/externallib.php en Moodle v2.0.x anterior a v2.0.4 y v2.1.x anterior a v2.1.1 no tiene una comprobación de autorización, permite a usuarios remotos autenticados obtener privilegios mediante una asignación de funciones."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-264"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:moodle:moodle:2.0.0:*:*:*:*:*:*:*","matchCriteriaId":"DD248A1D-CACC-4E76-925A-078B736442AE"},{"vulnerable":true,"criteria":"cpe:2.3:a:moodle:moodle:2.0.1:*:*:*:*:*:*:*","matchCriteriaId":"9B8A0403-0869-495F-B7C0-13A387549C7A"},{"vulnerable":true,"criteria":"cpe:2.3:a:moodle:moodle:2.0.2:*:*:*:*:*:*:*","matchCriteriaId":"39791F43-CF89-485B-AA8B-634C282BB025"},{"vulnerable":true,"criteria":"cpe:2.3:a:moodle:moodle:2.0.3:*:*:*:*:*:*:*","matchCriteriaId":"428E4846-8C9E-4592-8437-88FCDCED704D"},{"vulnerable":true,"criteria":"cpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:*","matchCriteriaId":"18C6F348-DAE9-4440-8B3A-8D92ADC6606F"}]}]}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=d20f655d59cd486fd9b3a26ad353af13daafd1d3","source":"secalert@redhat.com"},{"url":"http://moodle.org/mod/forum/discuss.php?d=182738","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://openwall.com/lists/oss-security/2011/11/14/1","source":"secalert@redhat.com"},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=d20f655d59cd486fd9b3a26ad353af13daafd1d3","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://moodle.org/mod/forum/discuss.php?d=182738","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://openwall.com/lists/oss-security/2011/11/14/1","source":"af854a3a-2127-422b-91ae-364da2661108"}]}