ADVISORIES

GitHub Advisory Database

GHSA-xvmh-25jw-gmmm

Moodle affected by a code injection vulnerability

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagistmoodle/moodle
From 5.1.0-beta before 5.1.1 (fixed in 5.1.1)
Packagistmoodle/moodle
From 5.0.0-beta before 5.0.4 (fixed in 5.0.4)
Packagistmoodle/moodle
From 4.5.0-beta before 4.5.8 (fixed in 4.5.8)
Packagistmoodle/moodle
From 4.2.0-beta before 4.4.12 (fixed in 4.4.12)
Packagistmoodle/moodle
All versions before 4.1.22 (fixed in 4.1.22)

References