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

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

May 2, 2023 (updated November 7, 2023)

The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in external Wiki method for listing pages. A remote attacker can send a specially crafted request to the affected application and execute limited SQL commands within the application database.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-77187
  • bugzilla.redhat.com/show_bug.cgi?id=2188606
  • github.com/advisories/GHSA-7mmc-22g7-3xq2
  • github.com/moodle/moodle/commit/5521d1d6e8bb8bebb76ad8154095f6b18ea26e7f
  • moodle.org/mod/forum/discuss.php?d=446286
  • nvd.nist.gov/vuln/detail/CVE-2023-30944

Code Behaviors & Features

Detect and mitigate CVE-2023-30944 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 starting from 3.9.0 before 3.9.21, all versions starting from 3.11.0 before 3.11.14, all versions starting from 4.0.0 before 4.0.8, all versions starting from 4.1.0 before 4.1.3

Fixed versions

  • 3.9.21
  • 3.11.14
  • 4.0.8
  • 4.1.3

Solution

Upgrade to versions 3.9.21, 3.11.14, 4.0.8, 4.1.3 or above.

Impact 7.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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