MEDIUM6.5
GHSA-5cvx-cwpx-9rjh
Moodle Code Injection vulnerability
Quick fix
GHSA-5cvx-cwpx-9rjh — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^4.3.0-rc2Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
4.3.0-betaFixed in: 4.3.0-rc2Fix
composer require moodle/moodle:^4.3.0-rc2Packagist/moodle/moodle
Introduced in:
4.0.0Fixed in: 4.0.11Fix
composer require moodle/moodle:^4.0.11Packagist/moodle/moodle
Introduced in:
3.10.0Fixed in: 3.11.17Fix
composer require moodle/moodle:^3.11.17References
- https://nvd.nist.gov/vuln/detail/CVE-2023-5550[ADVISORY]
- https://github.com/moodle/moodle/commit/77766f9c8af8fc8d861d7ac09ce4e1f6e72faca7[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2243452[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=451591[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72249[WEB]