Moodle < 3.9.21 SQL injection

high Web App Scanning Plugin ID 114762

Synopsis

Moodle < 3.9.21 SQL injection

Description

According to its self-reported version, the Moodle install hosted on the remote host is prior to 3.9.21, 3.11.x prior to 3.11.14, 4.0.x prior to 4.0.8 or 4.1.x prior to 4.1.3. It is, therefore, affected by a limited SQL injection in functionality used by the Wiki activity when listing pages.

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Moodle version 3.9.21 or later.

See Also

http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-77187

https://moodle.org/mod/forum/discuss.php?d=446286#p1793614

Plugin Details

Severity: High

ID: 114762

Type: remote

Published: 4/10/2025

Updated: 4/10/2025

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2023-30944

CVSS v3

Risk Factor: High

Base Score: 7.3

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

CVSS Score Source: CVE-2023-30944

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 5/1/2023

Reference Information

CVE: CVE-2023-30944