Incorrect authorization in moodle
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Privilege escalation
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-863 and CWE-269.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | moodle | Fixed in 3.9.3; Fixed in 3.8.6; Fixed in 3.7.9; Fixed in 3.5.15; Fixed in 3.10 | — | No fix listed | CNA |
| — | moodle/moodle (Packagist) | 3.9.0 to before 3.9.3 | 3.9.3 | Patch available | GHSA-h77r-rp97-7rv4 |
| — | moodle/moodle (Packagist) | 3.8.0 to before 3.8.6 | 3.8.6 | Patch available | GHSA-h77r-rp97-7rv4 |
| — | moodle/moodle (Packagist) | 3.7.0 to before 3.7.9 | 3.7.9 | Patch available | GHSA-h77r-rp97-7rv4 |
| — | moodle/moodle (Packagist) | 3.5 to before 3.5.15 | 3.5.15 | Patch available | GHSA-h77r-rp97-7rv4 |
- moodle Vendor— Affected Fixed in 3.9.3; Fixed in 3.8.6; Fixed in 3.7.9; Fixed in 3.5.15; Fixed in 3.10 Fixed in — No fix listed CNA
- moodle/moodle (Packagist) Vendor— Affected 3.9.0 to before 3.9.3 Fixed in 3.9.3 Patch available GHSA-h77r-rp97-7rv4
- moodle/moodle (Packagist) Vendor— Affected 3.8.0 to before 3.8.6 Fixed in 3.8.6 Patch available GHSA-h77r-rp97-7rv4
- moodle/moodle (Packagist) Vendor— Affected 3.7.0 to before 3.7.9 Fixed in 3.7.9 Patch available GHSA-h77r-rp97-7rv4
- moodle/moodle (Packagist) Vendor— Affected 3.5 to before 3.5.15 Fixed in 3.5.15 Patch available GHSA-h77r-rp97-7rv4
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a: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 | Vulnerable | Moodle |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
- cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* Versions 3.5.0 – 3.5.14; 3.7.0 – 3.7.8; 3.8.0 – 3.8.5; 3.9.0 – 3.9.2 Vulnerable ·Moodle
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-h77r-rp97-7rv4 moodle/moodle (Packagist) Fixed in 3.9.3 Advisory →
- Fix · GHSA-h77r-rp97-7rv4 moodle/moodle (Packagist) Fixed in 3.8.6 Advisory →
- Fix · GHSA-h77r-rp97-7rv4 moodle/moodle (Packagist) Fixed in 3.7.9 Advisory →
- Fix · GHSA-h77r-rp97-7rv4 moodle/moodle (Packagist) Fixed in 3.5.15 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
moodle — FEDORA-2020-db73e37548
6 records Highest priority Priority LOW 6 LOW
Other records, highest priority first
- TI-2020-15714 Improper access control in moodlePriority LOW 37
- TI-2020-15716 SQL injection in moodlePriority LOW 32
- TI-2020-15718 Cross-site scripting in moodlePriority LOW 30
- Advisory ·
moodle — FEDORA-2020-304aa2c365
6 records Highest priority Priority LOW 6 LOW
Other records, highest priority first
- TI-2020-15714 Improper access control in moodlePriority LOW 37
- TI-2020-15716 SQL injection in moodlePriority LOW 32
- TI-2020-15718 Cross-site scripting in moodlePriority LOW 30
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2020-25699
- 2026-10-03 Alias added: GHSA-h77r-rp97-7rv4
References
Advisory 5
Other 4
- https://github.com/moodle/moodle/commit/b8e1eec4c77c858de87fedf4e405e929539ea0c5
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU
- https://lists.fedoraproject.org/archives/list/[email protected]/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6
Sources
- CVE-2020-25699 · CVE Program
- CVE-2020-25699 · NVD
- FIRST EPSS
- GHSA-h77r-rp97-7rv4 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-25699 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences