CVE-2024-25981
PHP vulnerability analysis and mitigation

Overview

CVE-2024-25981 is a security vulnerability discovered in Moodle's forum export functionality. The vulnerability exists where Separate Groups mode restrictions were not honored when performing a forum export, which would export forum data for all groups. The issue affects Moodle versions 4.3.0 to 4.3.2, 4.2.0 to 4.2.5, and 4.1.0 to 4.1.8. The vulnerability was discovered by Leon Stringer and was publicly disclosed on February 19, 2024 (Moodle Advisory).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N according to NVD's assessment. The issue is classified under CWE-284 (Improper Access Control) by the Fedora Project. The vulnerability specifically affects the forum export functionality where the system fails to properly enforce group-based access restrictions (NVD).

Impact

The primary impact of this vulnerability is the potential exposure of forum data across all groups when an export is performed. By default, this vulnerability provided additional access to non-editing teachers, allowing them to view forum content from groups they should not have access to (Moodle Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 4.3.3, 4.2.6, and 4.1.9. Users are advised to upgrade to these patched versions to address the security issue. The fix has been implemented and can be found in the Moodle git repository (Moodle Patch).

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-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 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