GitHub Advisory Database
GHSA-h2fw-93qx-vrcq
SQL Injection in Moodle
Details
An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 3.11.0 before 3.11.6 (fixed in 3.11.6) |
| Packagist | moodle/moodle | From 3.10.0 before 3.10.10 (fixed in 3.10.10) |
| Packagist | moodle/moodle | All versions before 3.9.13 (fixed in 3.9.13) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0983
- https://github.com/moodle/moodle/commit/c2794752ea3cdda2d64a0651da08b2cdf730d9f1
- https://bugzilla.redhat.com/show_bug.cgi?id=2064119
- https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74074
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/[email protected]/message/G4GRMWBGHOJMFXMTORECQNULJK7ZJJ6Y