CVE-2023-5544
PHP vulnerability analysis and mitigation

Overview

CVE-2023-5544 is a security vulnerability discovered in Moodle's Wiki comments functionality. The vulnerability was disclosed on October 17, 2023, affecting multiple versions of Moodle including 4.2 to 4.2.2, 4.1 to 4.1.5, 4.0 to 4.0.10, 3.11 to 3.11.16, 3.9 to 3.9.23, and earlier unsupported versions. The issue involves insufficient sanitization of Wiki comments and inadequate access restrictions, which could lead to stored Cross-Site Scripting (XSS) and potential Insecure Direct Object Reference (IDOR) risks (Moodle Forum).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (Medium) by NIST with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The Fedora Project assessed it with a slightly higher CVSS score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N. The vulnerability is categorized under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-639 (Authorization Bypass Through User-Controlled Key) (NVD).

Impact

The vulnerability could allow attackers to execute stored Cross-Site Scripting (XSS) attacks and potentially exploit Insecure Direct Object Reference (IDOR) weaknesses in the Wiki comments system. This could lead to unauthorized access to information and potential manipulation of user data (Moodle Forum).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 4.2.3, 4.1.6, 4.0.11, 3.11.17, and 3.9.24. Users are advised to upgrade to these patched versions to mitigate the security risk. The fix includes improved sanitization of Wiki comments and enhanced access restrictions (Moodle Forum).

Community reactions

The vulnerability was initially reported by security researcher h1w0rld and was addressed through the Moodle security procedures. The issue was tracked under MDL-79509 and received attention from various Linux distributions including Fedora and Red Hat (Moodle Forum, Red Hat Bugzilla).

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