CVE-2021-20283
JSON

4.3medium

Missing permission check in Moodle

Severity
4.3medium CVSS:3.1 by NVD
Exploit likelihood
1.11% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-2m72-m5cw-3g9hBIT-MOODLE-2021-20283

Description

The web service responsible for fetching other users' enrolled courses did not validate that the requesting user had permission to view that information in each course in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.

Affected

Product or packageVersionsReported by
moodleFixed in 3.10.2, 3.9.5, 3.8.8, 3.5.17CVE List
moodle/moodle (Packagist)from 3.10.0 before 3.10.2, from 3.9.0 before 3.9.5, from 3.8.0 before 3.8.8, before 3.5.17GitHub Advisory Database
moodle moodlefrom 3.5.0 before 3.5.17, from 3.8.0 before 3.8.8, from 3.9.0 before 3.9.5, from 3.10.0 before 3.10.2NVD
fedoraproject fedora32, 34NVD
moodle (Bitnami)from 3.5.0 before 3.5.17, from 3.8.0 before 3.8.8, from 3.9.0 before 3.9.5, from 3.10.0 before 3.10.2Bitnami Vulnerability Database

All scores

GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

The web service responsible for fetching other users' enrolled courses did not validate that the requesting user had permission to view that information in each course in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.

NVD (es)

El servicio web responsable de obtener los cursos inscritos de otros usuarios no comprobó que el usuario solicitante tuviera permiso para visualizar esa información en cada curso en moodle versiones anteriores a 3.10.2, 3.9.5, 3.8.8, 3.5.17

References

https://bugzilla.redhat.com/show_bug.cgi?id=1939051advisory, issue-tracking, third-party-advisory, web
https://moodle.org/mod/forum/discuss.php?d=419654advisory, patch, vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AFSNJ7XHVTC52RSRX2GBQFF3VEEAY2MS/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UFH5DDMU5TZ3JT4Q52WMRAHACA5MHIMT/vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-20283advisory, web
https://github.com/moodle/moodlepackage
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AFSNJ7XHVTC52RSRX2GBQFF3VEEAY2MSweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UFH5DDMU5TZ3JT4Q52WMRAHACA5MHIMTweb

Sources

SourceRecordLicence
CVE ListCVE-2021-20283 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-2m72-m5cw-3g9h changed 2024-04-23CC-BY-4.0
NVDCVE-2021-20283 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MOODLE-2021-20283 changed 2026-09-08Apache-2.0