MEDIUM5.3
GHSA-22gj-8qj2-fj46
Moodle External Control of File Name or Path vulnerability
Quick fix
GHSA-22gj-8qj2-fj46 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^4.2.0-rc2Details
The vulnerability was found Moodle which exists because the application allows a user to control path of the older to create in TinyMCE loaders. A remote user can send a specially crafted HTTP request and create arbitrary folders on the system.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
0Fixed in: 4.2.0-rc2Fix
composer require moodle/moodle:^4.2.0-rc2References
- https://nvd.nist.gov/vuln/detail/CVE-2023-30943[ADVISORY]
- https://github.com/moodle/moodle/commit/59d42e1ed23f916dcb47d53c745bef18a116d800[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2188605[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/54TM5H5PDUDYXOQ7X7PPYWP4AJDAE73I[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MZBWRVUJF7HI53XCJPJ3YJZPOV5HBRUY[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PBFSXRYLT4ICKJVQSRBAOUDMDRVSVBLS[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/54TM5H5PDUDYXOQ7X7PPYWP4AJDAE73I[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MZBWRVUJF7HI53XCJPJ3YJZPOV5HBRUY[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBFSXRYLT4ICKJVQSRBAOUDMDRVSVBLS[WEB]
- https://moodle.org/mod/forum/discuss.php?d=446285[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-77718[WEB]