Description
The MoodleQuickForm class in lib/formslib.php in Moodle through 2.1.10, 2.2.x before 2.2.10, 2.3.x before 2.3.7, and 2.4.x before 2.4.4 does not properly handle a certain array-element syntax, which allows remote attackers to bypass intended form-data filtering via a crafted request.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | < 2.2.10 | 2.2.10 | GHSA-m63h-q4x3-6hwj |
| Packagist | moodle/moodle | >= 2.3.0, < 2.3.7 | 2.3.7 | GHSA-m63h-q4x3-6hwj |
| Packagist | moodle/moodle | >= 2.4.0, < 2.4.4 | 2.4.4 | GHSA-m63h-q4x3-6hwj |
References
- FEDORA-2013-8702 vendor-advisory
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-38885
- [oss-security] 20130521 Moodle security notifications public mailing-list
- FEDORA-2013-8668 vendor-advisory
- FEDORA-2013-8692 vendor-advisory
- https://moodle.org/mod/forum/discuss.php?d=228935