CVE-2020-25701
PHP vulnerability analysis and mitigation

Overview

CVE-2020-25701 is a vulnerability discovered in Moodle's upload course tool that could lead to unauthorized course access. When the tool was used to delete an enrollment method that didn't exist or wasn't already enabled, it would erroneously enable that enrollment method. This vulnerability affected Moodle versions 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. The issue was discovered by Víctor Déniz Falcón and was fixed in Moodle versions 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10 (Moodle Forum).

Technical details

The vulnerability is classified as an incorrect authorization issue (CWE-863) with a CVSS v3.1 Base Score of 5.3 (Medium). The attack vector is network-based (AV:N), requires low attack complexity (AC:L), needs no privileges (PR:N), requires no user interaction (UI:N), has unchanged scope (S:U), with no impact on confidentiality (C:N), low impact on integrity (I:L), and no impact on availability (A:N) (NVD).

Impact

The vulnerability could lead to unintended users gaining access to courses by exploiting the incorrect behavior of the upload course tool when handling enrollment method deletions. This could potentially compromise course access controls and allow unauthorized access to course content (Moodle Forum).

Exploitability

The vulnerability requires access to the upload course tool functionality. While no known exploits have been reported in the wild, the risk is considered minor according to Moodle's security assessment (Moodle Forum).

Mitigation and workarounds

Until the patch is applied, administrators should ensure any enrollment method deletions are only performed on courses where that enrollment method already exists and is enabled. The permanent fix is to upgrade to Moodle versions 3.9.3, 3.8.6, 3.7.9, 3.5.15, or 3.10 (Moodle Forum).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44741HIGH8.8
  • PHP logoPHP
  • pimcore/admin-ui-classic-bundle
NoYesAug 12, 2026
CVE-2026-47233MEDIUM6.5
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-47132MEDIUM5.4
  • PHP logoPHP
  • thorsten/phpmyfaq
NoYesAug 12, 2026
CVE-2026-47234MEDIUM4.4
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-49262LOW3
  • PHP logoPHP
  • aimeos/pagible
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management