CVE-2023-5548
PHP vulnerability analysis and mitigation

Overview

CVE-2023-5548 is a vulnerability in Moodle that was discovered in 2023, requiring stronger revision number limitations on file serving endpoints to improve cache poisoning protection. The vulnerability affects Moodle versions 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 (Moodle Forum).

Technical details

The vulnerability is classified as an Insufficient Verification of Data Authenticity issue (CWE-345) with a CVSS v3.1 base score of 5.3 (Medium). The vulnerability stems from inadequate revision number limitations in file serving endpoints, which could potentially lead to cache poisoning attacks (NVD).

Impact

The vulnerability primarily affects the integrity of the system, with potential for cache poisoning attacks. According to the CVSS metrics, while the vulnerability can be exploited remotely with low attack complexity, it only impacts the integrity aspect of the system with no effect on confidentiality or availability (Rapid7).

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 risk (Moodle Forum).

Community reactions

The vulnerability was reported by Yaniv Nizry from SonarSource and was assigned CVE-2023-5548. The issue was addressed through official security channels and documented in Moodle's security advisory MSA-23-0040 (Moodle Forum).

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-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 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