Moodle: moodle: privilege escalation via incomplete role checks in badge awarding (moodle)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.31 % · percentile 23 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- fedora
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-863 — Incorrect Authorization
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | fedora |
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | NVD · patrick@puiterwijk.org (Secondary) |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-hcm6-q6pc-xfhm — Moodle has an authorization logic flaw
European references
- ENISA EUVD · EUVD-2025-206750
- GCVE · GCVE-0-2025-67856
CERT-FR advisories
- CERTFR-2025-AVI-1113 — Multiples vulnérabilités dans Moodle · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*< 4.1.22cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 4.4.0 < 4.4.12cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 4.5.0 < 4.5.8cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.0.4cpe:2.3:a:moodle:moodle:5.1.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| moodle | affected 4.1.0 < 4.1.22 ; affected 4.4.0 < 4.4.12 ; affected 4.5.0 < 4.5.8 ; affected 5.0.0 < 5.0.4 ; affected 5.1.0 < 5.1.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |