Moodle 4.2.x < 4.2.3 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 114740

Synopsis

Moodle 4.2.x < 4.2.3 Multiple Vulnerabilities

Description

According to its self-reported version, the Moodle install hosted on the remote host is prior to 3.9.24 / 3.11.x prior to 3.11.17 / 4.0.x prior to 4.0.11 / 4.1.x prior to 4.1.6 / 4.2.x prior to 4.2.3. It is, therefore, affected by multiple vulnerabilities:

- Forum summary report shows students from other groups when in Separate Groups mode

- RCE due to LFI risk in some misconfigured shared hosting environments

- Insufficient capability checks when updating the parent of a course category

- Make file serving endpoints revision control stricter

- XSS risk when previewing data in course upload tool

- Auto-populated H5P author name causes a potential information leak

- Stored XSS and potential IDOR risk in Wiki comments

- Students could see other students in "Only see own membership" groups

- XSS risk when using CSV grade import method

- Authenticated remote code execution risk in IMSCP

- Authenticated remote code execution risk in Lesson

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 4.2.3 or later.

See Also

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

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

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

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

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

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

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

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

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

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

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

https://moodle.org/mod/forum/discuss.php?d=451580#p1814887

https://moodle.org/mod/forum/discuss.php?d=451581#p1814888

https://moodle.org/mod/forum/discuss.php?d=451582#p1814890

https://moodle.org/mod/forum/discuss.php?d=451583#p1814891

https://moodle.org/mod/forum/discuss.php?d=451585#p1814893

https://moodle.org/mod/forum/discuss.php?d=451586#p1814894

https://moodle.org/mod/forum/discuss.php?d=451588#p1814896

https://moodle.org/mod/forum/discuss.php?d=451589#p1814897

https://moodle.org/mod/forum/discuss.php?d=451590#p1814898

https://moodle.org/mod/forum/discuss.php?d=451591#p1814899

https://moodle.org/mod/forum/discuss.php?d=451592#p1814901

Plugin Details

Severity: Critical

ID: 114740

Type: remote

Published: 4/10/2025

Updated: 4/10/2025

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

CVSS Score Source: CVE-2023-5550

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

CVSS Score Source: CVE-2023-5550

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 10/9/2023

Reference Information

CVE: CVE-2023-5539, CVE-2023-5540, CVE-2023-5541, CVE-2023-5542, CVE-2023-5544, CVE-2023-5545, CVE-2023-5547, CVE-2023-5548, CVE-2023-5549, CVE-2023-5550, CVE-2023-5551

CWE: 200, 269, 345, 639, 668, 79, 94

OWASP: 2010-A1, 2010-A2, 2010-A3, 2010-A4, 2010-A6, 2010-A8, 2013-A1, 2013-A2, 2013-A3, 2013-A4, 2013-A5, 2013-A7, 2013-A9, 2017-A1, 2017-A2, 2017-A5, 2017-A6, 2017-A7, 2017-A9, 2021-A1, 2021-A3, 2021-A4, 2021-A6, 2021-A8

WASC: Cross-Site Scripting, Information Leakage, Insufficient Authentication, Insufficient Authorization, OS Commanding

CAPEC: 111, 116, 122, 13, 141, 142, 148, 169, 209, 218, 22, 224, 233, 242, 285, 287, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 312, 313, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 35, 384, 385, 386, 387, 388, 472, 497, 508, 573, 574, 575, 576, 577, 58, 588, 59, 591, 592, 60, 616, 63, 643, 646, 651, 77, 79, 85

DISA STIG: APSC-DV-000460, APSC-DV-000480, APSC-DV-000500, APSC-DV-002440, APSC-DV-002490, APSC-DV-002510, APSC-DV-002630

HIPAA: 164.306(a)(1), 164.306(a)(2), 164.312(a)(1), 164.312(a)(2)(i), 164.312(e)

ISO: 27001-A.10.1, 27001-A.13.1.1, 27001-A.13.1.3, 27001-A.13.2.1, 27001-A.14.1.2, 27001-A.14.1.3, 27001-A.14.2.5, 27001-A.18.1.3, 27001-A.6.2.2, 27001-A.9.1.2, 27001-A.9.4.1, 27001-A.9.4.4, 27001-A.9.4.5

NIST: sp800_53-AC-3, sp800_53-AC-4, sp800_53-CM-6b, sp800_53-SI-10, sp800_53-SI-10(5), sp800_53-SI-15

OWASP API: 2019-API7, 2019-API8, 2023-API8

OWASP ASVS: 4.0.2-14.2.1, 4.0.2-3.5.3, 4.0.2-5.2.5, 4.0.2-5.3.3, 4.0.2-8.3.4

PCI-DSS: 3.2-2.2, 3.2-6.2, 3.2-6.5.1, 3.2-6.5.7, 3.2-6.5.8