Security Resilience

CVE-2025-62396

Info Disclosure in Moodle 4.5.0 – 4.5.7

Published
23 October 2025
Modified
27 October 2026
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0030 23th percentile
Risk Priority 43 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-62396 is a medium-severity Exposure of Information Through Directory Listing (CWE-548) vulnerability in Moodle. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Code Repositories (T1213.003); ranked at the 23th 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 CM-6 (Configuration Settings) and CM-7 (Least Functionality) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An error-handling issue in the Moodle router (r.php) could cause the application to display internal directory listings when specific HTTP headers were not properly configured.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1213.003 Code Repositories Collection
Adversaries may leverage code repositories to collect valuable information.
T1593 Search Open Websites/Domains Reconnaissance
Adversaries may search freely available websites and/or domains for information about victims that can be used during targeting.
T1213 Data from Information Repositories Collection
Adversaries may leverage information repositories to mine valuable information.
T1589.001 Credentials Reconnaissance
Adversaries may gather credentials that can be used during targeting.
T1590.006 Network Security Appliances Reconnaissance
Adversaries may gather information about the victim's network security appliances that can be used during targeting.
T1592.002 Software Reconnaissance
Adversaries may gather information about the victim's host software that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-26527Same product: Moodle Moodle
CVE-2025-26525Same product: Moodle Moodle
CVE-2025-67857Same product: Moodle Moodle
CVE-2025-3637Same product: Moodle Moodle
CVE-2024-43429Same product: Moodle Moodle
CVE-2024-48896Same product: Moodle Moodle
CVE-2025-62397Same product: Moodle Moodle
CVE-2023-5541Same product: Moodle Moodle
CVE-2025-26530Same product: Moodle Moodle
CVE-2025-67850Same product: Moodle Moodle

Affected Assets

moodle
moodle
4.5.0 — 4.5.7 · 5.0.0 — 5.0.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Requires secure baseline settings that disable directory listing on servers and file shares.

Restricts unnecessary server features such as automatic directory indexing.

Enforces authorization decisions so that directory listings are never returned unless explicitly permitted.

Controls information flows so directory contents are not disclosed to unauthorized recipients.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-01 mostly match
blocks

Hardened baselines and config management directly disable directory listing by default.

ID.AM-08 partial match
blocks

Lifecycle management includes applying secure configurations that would prevent directory exposure.

ID.RA-01 partial match
blocks

Vulnerability scanning can discover exposed directories so they can be remediated.

PR.AA-05 partial match
blocks

Least-privilege access rules can restrict who sees directory contents but do not address the listing feature itself.

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

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance can detect and require remediation of exposed directory listings.

blocks

A.8.3 blocks exploitation by unauthenticated/unauthorized users through its access enforcement mechanisms (authentication requirements, per-identity access rights), but the directory listing weakness itself remains present and exploitable by any authenticated user with legitimate access to that directory — the control does not address the root cause of directory indexing being enabled, so the information exposure (file names, structure, creation times) survives for users who pass the access check.

removes

A.8.9's mechanism — secure configuration templates that disable directory indexing, monitoring actual vs. target configurations, and correcting deviations — directly removes existing directory-listing exposures when applied to a previously unmanaged system; the remainder is systems or services outside the managed configuration scope (shadow IT, unmanaged third-party services) where the clause's monitoring never reaches.

prevents

Secure coding practices ensure developers do not leave directory listing enabled on production web servers.

prevents

Outsourced-development contracts requiring secure design, coding and testing reduce the introduction of directory-listing defects, but fallible supplier practices and incomplete coverage leave a substantial remainder.

finds

A.8.8's reach is disclosure-based vulnerability management, and directory listings do surface as CVEs (e.g., CVE-2023-37599) and are caught by the penetration testing the clause names in (e), so a share is found; but most CWE-548 instances are first-party web server configuration oversights that carry no advisory and fall outside the disclosed-vulnerability inventory, capping the share at partial.

References