A flaw was found in Moodle. An attacker with access to the restore interface could trigger server-side execution of arbitrary code. This is due to insufficient validation of restore input, which leads to unintended interpretation by core restore routines. Successful exploitation could result in a full compromise of the Moodle application.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "4.1.22"
},
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.12"
},
{
"introduced": "4.5.0"
},
{
"fixed": "4.5.8"
},
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.4"
},
{
"introduced": "0"
},
{
"last_affected": "5.1.0-NA"
}
]
}