CVE-2021-36397
PHP vulnerability analysis and mitigation

Overview

In Moodle, a vulnerability (CVE-2021-36397) was discovered where insufficient capability checks allowed message deletions beyond the current user's scope. The vulnerability affects Moodle versions 3.10.x before 3.10.5, 3.11.x before 3.11.1, and 3.9.x before 3.9.8. This security issue was reported by 0xkasper and was publicly disclosed in July 2021 (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:N/I:L/A:N. The core issue stems from insufficient capability checks in the messaging web service that failed to properly restrict message deletion operations to the current user (NVD).

Impact

The vulnerability allows unauthorized users to delete messages belonging to other users, potentially leading to loss of communication history and data integrity issues (CERT-FR).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 3.11.1, 3.10.5, and 3.9.8. Users are advised to upgrade to these or later versions to address the security issue (Moodle Advisory).

Additional resources


SourceThis report was generated using AI

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