Skip to main content
← All vulnerabilities
CVE-2023-5550GHSA-5CVX-CWPX-9RJHBIT-MOODLE-2023-5550

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.3, 4.1.6, 4.0.11, 3.11.17, 3.9.24, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • moodle

    From 4.2.0 · fixed in 4.2.3; From 4.1.0 · fixed in 4.1.6; From 4.0.0 · fixed in 4.0.11; From 3.11.0 · fixed in 3.11.17; fixed in 3.9.24

  • moodle/moodlePackagist

    From 4.3.0-beta · fixed in 4.3.0-rc2

  • moodle/moodlePackagist

    From 4.2.0 · fixed in 4.2.3

  • moodle/moodlePackagist

    From 4.1.0 · fixed in 4.1.6

  • moodle/moodlePackagist

    From 4.0.0 · fixed in 4.0.11

  • moodle/moodlePackagist

    From 3.10.0 · fixed in 3.11.17

  • moodle/moodlePackagist

    fixed in 3.9.24

References 3

git.moodle.org

bugzilla.redhat.com

moodle.org