Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-5550 BIT-moodle-2023-5550EUVD-2023-2887GHSA-5cvx-cwpx-9rjh

Moodle: rce due to lfi risk in some misconfigured shared hosting environments

Published Nov 9, 2023 · Updated Aug 2, 2024 · Assigned by fedora

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 products

VendorProductAffectedFixed
— moodle 4.2.0 – < 4.2.3, 4.1.0 – < 4.1.6, 4.0.0 – < 4.0.11, 3.11.0 – < 3.11.17, < 3.9.24 4.2.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 4.3.0-beta, < 4.3.0-rc2 4.3.0-rc2 GHSA-5cvx-cwpx-9rjh
Packagist moodle/moodle >= 4.2.0, < 4.2.3 4.2.3 GHSA-5cvx-cwpx-9rjh
Packagist moodle/moodle >= 4.1.0, < 4.1.6 4.1.6 GHSA-5cvx-cwpx-9rjh
Packagist moodle/moodle >= 4.0.0, < 4.0.11 4.0.11 GHSA-5cvx-cwpx-9rjh
Packagist moodle/moodle >= 3.10.0, < 3.11.17 3.11.17 GHSA-5cvx-cwpx-9rjh
Packagist moodle/moodle < 3.9.24 3.9.24 GHSA-5cvx-cwpx-9rjh

Advisories 1

References