CVE-2023-5550

Moodle: rce due to lfi risk in some misconfigured shared hosting environments

State
Published
Severity
6.5 Medium
Published
Nov 9, 2023
Updated
Aug 2, 2024
Reserved
Oct 12, 2023

Read the record on cve.org

Description

In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user who also has direct access to the web server outside of the Moodle webroot could utilise a local file include to achieve remote code execution.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Nfedora

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
moodle
  • 4.2.0 to before 4.2.3Affected
  • 4.1.0 to before 4.1.6Affected
  • 4.0.0 to before 4.0.11Affected
  • 3.11.0 to before 3.11.17Affected
  • before 3.9.24Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.