Cyber Resilience

CVE-2025-3625

Access Control in Moodle 4.3.0 – 4.3.12

Published
25 April 2025
Modified
17 June 2026
CVSS Score v3.1 7.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
EPSS Score 0.0039 32th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2025-3625 is a high-severity Authorization Bypass Through User-Controlled Key (CWE-639) vulnerability in Moodle Moodle. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Account Discovery (T1087); ranked at the 32th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A security vulnerability was discovered in Moodle that can allow hackers to gain access to sensitive information about students and prevent them from logging into their accounts, even after they had completed two-factor authentication (2FA).

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1531 Account Access Removal Impact
Adversaries may interrupt availability of system and network resources by inhibiting access to accounts utilized by legitimate users.
Why these techniques?

Exploiting CVE-2025-3625 in public-facing Moodle enables T1190 (exploit public app), T1087 (account discovery via sensitive student info), and T1531 (account access removal by blocking post-2FA logins).

CVEs Like This One

CVE-2025-3640Same product: Moodle Moodle
CVE-2025-3636Same product: Moodle Moodle
CVE-2024-43438Same product: Moodle Moodle
CVE-2024-48899Same product: Moodle Moodle
CVE-2025-3627Same product: Moodle Moodle
CVE-2025-32044Same product: Moodle Moodle
CVE-2023-28334Same product: Moodle Moodle
CVE-2025-3637Same product: Moodle Moodle
CVE-2025-3628Same product: Moodle Moodle
CVE-2025-26530Same product: Moodle Moodle

Affected Assets

moodle
moodle
4.3.0 — 4.3.12 · 4.4.0 — 4.4.8 · 4.5.0 — 4.5.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • AC-6 Least Privilege
  • SI-10 Information Input Validation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces authorization decisions on user-supplied identifiers so that Moodle cannot expose student data or disrupt accounts via bypassed keys.

prevent

Limits privileges on student records and session objects, reducing the impact of any authorization bypass that reaches the data layer.

prevent

Validates all user-controlled keys and references before they are used to retrieve accounts or bypass 2FA-protected sessions.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 full match
prevents

Enforcing authorization policy and least privilege directly blocks user-controlled key tampering that bypasses access checks.

PR.IR-01 mostly match
prevents

Logical access controls prevent unauthorized data access that results from missing authorization checks on object references.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect missing authorization checks but does not prevent the weakness in production.

prevents

Information access restriction explicitly enforces that users may only retrieve data they are authorized to see, directly addressing user-controlled key bypass.

prevents

Access control policy directly requires enforcement of authorization rules that prevent unauthorized access via manipulated keys.

prevents

Managing access rights includes ensuring users can only access their own records and not bypass authorization by altering identifiers.

mitigates

Privileged access rights control restricts what data each user may access, mitigating direct object reference attacks.

prevents

Secure development lifecycle includes authorization design but does not itself implement runtime access checks.

References