Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2023-5550

CVE-2023-5550: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

November 9, 2023 (updated November 17, 2023)

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.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72249
  • bugzilla.redhat.com/show_bug.cgi?id=2243452
  • github.com/advisories/GHSA-5cvx-cwpx-9rjh
  • github.com/moodle/moodle/commit/77766f9c8af8fc8d861d7ac09ce4e1f6e72faca7
  • moodle.org/mod/forum/discuss.php?d=451591
  • nvd.nist.gov/vuln/detail/CVE-2023-5550

Code Behaviors & Features

Detect and mitigate CVE-2023-5550 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.9.24, all versions starting from 3.11.0 before 3.11.17, all versions starting from 4.0.0 before 4.0.11, all versions starting from 4.1.0 before 4.1.6, all versions starting from 4.2.0 before 4.2.3

Fixed versions

  • 3.9.24
  • 3.11.17
  • 4.0.11
  • 4.1.6
  • 4.2.3

Solution

Upgrade to versions 3.9.24, 3.11.17, 4.0.11, 4.1.6, 4.2.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

packagist/moodle/moodle/CVE-2023-5550.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.