SecurityContext

CVE-2020-25698: Moodle - Authorization Bypass

  • Cve: CVE-2020-25698
  • Name: Moodle - Authorization Bypass
  • Description: Users' enrollment capabilities were not being sufficiently checked in Moodle when they are restored into an existing course. This could lead to them unenrolling users without having permission to do so. Versions affected: 3.5 to 3.5.14, 3.7 to 3.7.8, 3.8 to 3.8.5, 3.9 to 3.9.2 and earlier unsupported versions. Fixed in 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.
  • Impact: Unauthorized users can unenroll other users from courses, potentially disrupting course management and user access.
  • Remediation: Update to Moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, or latest version.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to perform user restoration actions
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.01918
  • Epss percentile: 0.80424
  • Assignee: [email protected]
  • Published at: 2020-11-19T17:15:12Z
  • Age in days: 2196
  • Modified at: 2026-06-17T03:07:09Z
  • References total: 4
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-25698
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-284Improper Access Control
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=1895419Issue Tracking, Vendor Advisory
https://moodle.org/mod/forum/discuss.php?d=413935Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/

Products

ProductAffectedPlatform boundSourcesUrl
moodle:moodle>= 3.9.0, <= 3.9.2; >= 3.8.0, <= 3.8.5; >= 3.7.0, <= 3.7.8; >= 3.5.0, <= 3.5.14nonvd/v1/products/moodle/moodle
fedoraproject:fedora= 33, = 32nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
moodle/moodlecommit, fixyes/v1/repositories/moodle/moodle

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 62525
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports