Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2025-32044 BIT-moodle-2025-32044EUVD-2025-12530GHSA-345q-9jmq-g9q4

Moodle: unauthenticated rest api user data exposure

Published Apr 25, 2025 · Updated Apr 25, 2025 · Assigned by fedora

Description

A flaw has been identified in Moodle where, on certain sites, unauthenticated users could retrieve sensitive user data—including names, contact information, and hashed passwords—via stack traces returned by specific API calls. Sites with PHP configured with zend.exception_ignore_args = 1 in the php.ini file are not affected by this vulnerability.

Affected products

VendorProductAffectedFixed
— moodle 4.5.0 – ≤ 4.5.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • shinthink/CVE-2025-32044 ★ 0 · Jul 15, 2026

    Moodle 4.5.0-4.5.2 Unauthenticated REST API User Data Exposure via Stack Trace Args Leak | CVSS 7.5

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 4.5.0-beta, < 4.5.3 4.5.3 GHSA-345q-9jmq-g9q4

Advisories 1

References