Vulnerability · Published Nov 9, 2023 · Assigned by fedora

CVE-2023-5550Moodle: rce due to lfi risk in some misconfigured shared hosting environments

Medium 6.5

In plain English

A medium-severity code injection in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.6%top 23.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle4.3.0-rc2GHSA-5cvx-cwpx-9rjh
Packagistmoodle/moodle4.2.3GHSA-5cvx-cwpx-9rjh
Packagistmoodle/moodle4.1.6GHSA-5cvx-cwpx-9rjh
Packagistmoodle/moodle4.0.11GHSA-5cvx-cwpx-9rjh
Packagistmoodle/moodle3.11.17GHSA-5cvx-cwpx-9rjh
Packagistmoodle/moodle3.9.24GHSA-5cvx-cwpx-9rjh

Affected products (as reported)

VendorProductVersions
moodle 4.2.0 – before 4.2.34.1.0 – before 4.1.64.0.0 – before 4.0.113.11.0 – before 3.11.170 – before 3.9.24

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References