CVE-2021-32472
PHP vulnerability analysis and mitigation

Overview

A vulnerability in Moodle's forum CSV export functionality was discovered where teachers could potentially access CSV data from forums across all courses, not just their assigned ones. This vulnerability, identified as CVE-2021-32472, affects Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, and 3.8 to 3.8.8. The issue was reported by Daniel Konrad and was addressed in versions 3.11, 3.10.4, 3.9.7, and 3.8.9 (Moodle Advisory).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 4.3 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N. The issue is categorized under CWE-862 (Missing Authorization), indicating a fundamental authorization control problem in the forum export functionality (NVD).

Impact

When exploited, this vulnerability could allow teachers to access forum data from courses they weren't authorized to view through the CSV export feature, potentially leading to unauthorized access to educational content and discussions from other courses (Moodle Advisory).

Mitigation and workarounds

As a temporary workaround, administrators can remove the Export Forum (mod/forum:exportforum) capability from non-admin roles/users until the security patch is applied. The permanent fix is to upgrade to one of the patched versions: 3.11, 3.10.4, 3.9.7, or 3.8.9 (Moodle Advisory).

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-2025-65346CRITICAL9.1
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 04, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65345MEDIUM6.5
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 03, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

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