In a shared hosting environment that has been misconfigured to allow access to other users’ content, a Moodle user with both access to restore database activity modules and direct access to the web server outside of the Moodle webroot could execute a local file include.
[
{
"cpes": [
"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"
],
"vendor": "moodle",
"product": "moodle",
"versions": [
{
"status": "affected",
"version": "4.0",
"versionType": "custom",
"lessThanOrEqual": "4.3.3"
},
{
"status": "affected",
"version": "4.2",
"versionType": "custom",
"lessThanOrEqual": "4.2.6"
},
{
"status": "affected",
"version": "4.1",
"versionType": "custom",
"lessThanOrEqual": "4.1.9"
}
],
"defaultStatus": "unknown"
}
]