5.4medium
Moodle: moodle: privilege escalation via incomplete role checks in badge awarding
- Severity
- 5.4medium CVSS:3.1 by fedora
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-hcm6-q6pc-xfhmBIT-MOODLE-2025-67856
Description
A flaw was found in Moodle. An authorization logic flaw, specifically due to incomplete role checks during the badge awarding process, allowed badges to be granted without proper verification. This could enable unauthorized users to obtain badges they are not entitled to, potentially leading to privilege escalation or unauthorized access to certain features.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | from 4.1.0 before 4.1.22, from 4.4.0 before 4.4.12, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, from 5.1.0 before 5.1.1 | CVE List |
| moodle/moodle (Packagist) | before 4.1.22, from 4.4.0-beta before 4.4.12, from 4.5.0-beta before 4.5.8, from 5.0.0-beta before 5.0.4, from 5.1.0-beta before 5.1.1 | GitHub Advisory Database |
| moodle moodle | before 4.1.22, from 4.4.0 before 4.4.12, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, 5.1.0 | NVD |
| moodle (Bitnami) | before 4.1.22, from 4.4.0 before 4.4.12, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, from 5.1.0 before 5.1.1 | Bitnami Vulnerability Database |
All scores
| fedora | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A flaw was found in Moodle. An authorization logic flaw, specifically due to incomplete role checks during the badge awarding process, allowed badges to be granted without proper verification. This could enable unauthorized users to obtain badges they are not entitled to, potentially leading to privilege escalation or unauthorized access to certain features.
NVD (es)
Se encontró un fallo en Moodle. Un fallo de lógica de autorización, específicamente debido a comprobaciones de rol incompletas durante el proceso de concesión de insignias, permitió que se concedieran insignias sin la verificación adecuada. Esto podría permitir a usuarios no autorizados obtener insignias a las que no tienen derecho, lo que podría llevar a una escalada de privilegios o acceso no autorizado a ciertas características.
References
| https://access.redhat.com/security/cve/CVE-2025-67856 | advisory, third-party-advisory, vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2423864 | advisory, issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-67856 | advisory, web | |
| https://github.com/moodle/moodle/commit/0d48779e61bcacbabbcb82858a037b567351fce0 | web | |
| https://github.com/moodle/moodle | package | |
| https://moodle.org/mod/forum/discuss.php?d=471306 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-67856 changed 2026-02-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hcm6-q6pc-xfhm changed 2026-02-12 | CC-BY-4.0 |
| NVD | CVE-2025-67856 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2025-67856 changed 2026-09-08 | Apache-2.0 |