CVE-2020-25701
publishedmoodle: tool_uploadcourse creates new enrol instances unexpectedly in some circumstances
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | moodleFixed in 3.9.3 · Fixed in 3.8.6 · Fixed in 3.7.9 · Fixed in 3.5.15 · Fixed in 3.10 | Affected | Not stated | redhat |
Description
If the upload course tool in Moodle was used to delete an enrollment method which did not exist or was not already enabled, the tool would erroneously enable that enrollment method. This could lead to unintended users gaining access to the course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | moodle | Fixed in 3.9.3 (affected)Fixed in 3.8.6 (affected)Fixed in 3.7.9 (affected)Fixed in 3.5.15 (affected)Fixed in 3.10 (affected) | redhat · cna |
Weaknesses
1- CWE-284
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=1895432
- FEDORA-2020-db73e37548 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/
- FEDORA-2020-304aa2c365 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/
- https://moodle.org/mod/forum/discuss.php?d=413939
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2de7297c88640f78b645daa2d77b9aa2a96dac41baa7385a4f313c638c163566
- Ingested
- 23 Sep 2026, 07:49:45 UTC
- Source record
- Official CVE record