Moodle 5.3.0, 5.2.0 through 5.2.4, 5.1.0 through 5.1.8, 5.0.0 through 5.0.11, and through 4.5.15 contain an sql injection vulnerability in the External database enrolment plugin via course idnumber. Editing teachers can store a backslash-quote payload in idnumber that executes during scheduled sync on MySQL/MariaDB external databases, reading data and manipulating enrolment results.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 5
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Moodle Moodle
cpe:2.3:a:moodle:moodle:5.3.0:*:*:*:*:*:*:*
|
— | — |
|
Moodle Moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
|
5.2.0
|
<= 5.2.4
|
|
Moodle Moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
|
5.1.0
|
<= 5.1.8
|
|
Moodle Moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
|
5.0.0
|
<= 5.0.11
|
|
Moodle Moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
|
— |
<= 4.5.15
|