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.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "3.9.24"
},
{
"introduced": "3.11.0"
},
{
"fixed": "3.11.17"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.11"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.6"
},
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.3"
}
]
}