CVE-2020-25699 in Fedoraproject Fedora and 1 more product
In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that 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...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 32 33 |
| Moodle | Moodle | ≥ 3.5.0, ≤ 3.5.14 ≥ 3.7.0, ≤ 3.7.8 ≥ 3.8.0, ≤ 3.8.5 ≥ 3.9.0, ≤ 3.9.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-25699 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-149127-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2020-11-19 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
Moodle versions 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, and 3.5 to 3.5.14 contain a vulnerability where users with the ability to course restore can add additional capabilities to roles within that course due to insufficient capability checks.
An attacker with the 'restorecourse' capability can exploit this vulnerability to add additional capabilities to roles within a course, potentially escalating their privileges.
Questions
What is CVE-2020-25699?
Moodle versions 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, and 3.5 to 3.5.14 contain a vulnerability where users with the ability to course restore can add additional capabilities to roles within that course due to insufficient capability checks.
What is the CVSS score for CVE-2020-25699?
CVE-2020-25699 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.6%.
Is CVE-2020-25699 actively exploited?
No confirmed active exploitation of CVE-2020-25699 as of 2026-05-30.
How do I remediate CVE-2020-25699?
Priority: HIGH. Advisory: https://moodle.org/mod/forum/discuss.php?d=413936 PSIRT: [email protected]
What systems are affected by CVE-2020-25699?
CVE-2020-25699 affects Fedoraproject Fedora; Moodle Moodle.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.