CVE-2023-5539: Moodle: authenticated remote code execution risk in lesson

Published Oct 11, 2023
·
Updated

A remote code execution risk was identified in the Lesson activity. By default this was only available to teachers and managers.

Affected Software

13 affected componentsFixes available
composer/moodle/moodle<4.3.0-rc2
4.3.0-rc2
redhat/moodle<4.2.3
4.2.3
redhat/moodle<4.1.6
4.1.6
redhat/moodle<4.0.11
4.0.11
redhat/moodle<3.11.17
3.11.17
redhat/moodle<3.9.24
3.9.24
Moodle moodle<3.9.24
Moodle moodle>=3.11.0<3.11.17
Moodle moodle>=4.0.0<4.0.11
Moodle moodle>=4.1.0<4.1.6
Moodle moodle>=4.2.0<4.2.3
Fedoraproject Extra Packages For Enterprise Linux=7.0
Fedoraproject Fedora=38

Event History

Nov 9, 2023
CVE Published
via MITRE·07:11 PM
Data Sourced
via MITRE·07:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
09:30 PM

Frequently Asked Questions

1

What is CVE-2023-5539?

CVE-2023-5539 is a vulnerability that allows authenticated remote code execution in the Lesson activity in Moodle.

2

What is the severity of CVE-2023-5539?

CVE-2023-5539 has a severity rating of 8.8 (high).

3

Which versions of Moodle are affected by CVE-2023-5539?

Moodle versions up to and including 4.2.3 are affected by CVE-2023-5539.

4

How can I fix CVE-2023-5539?

To fix CVE-2023-5539, you should update Moodle to version 4.2.3 or apply the relevant security patch.

5

Where can I find more information about CVE-2023-5539?

You can find more information about CVE-2023-5539 in the references provided: [http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79408](http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79408), [https://bugzilla.redhat.com/show_bug.cgi?id=2243352](https://bugzilla.redhat.com/show_bug.cgi?id=2243352), [https://moodle.org/mod/forum/discuss.php?d=451580](https://moodle.org/mod/forum/discuss.php?d=451580).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203