Moodle: moodle: privilege escalation via incomplete role checks in badge awarding
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by NVD · CWE-863
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.1.0, < 4.1.22
- >= 4.4.0, < 4.4.12
- >= 4.5.0, < 4.5.8
- >= 5.0.0, < 5.0.4
- >= 5.1.0, < 5.1.1
Fixed in 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1
Mitigation
Upgrade the affected product to 4.1.22 or 4.4.12 or 4.5.8 or 5.0.4 or 5.1.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.