CVE-2024-43430: Moodle Quiz API Insufficient Access Control Vulnerability

moodle/moodle Updated 02 Oct 2025

Summary

11/11/2024
Yes i
Low
5.3

CVE-2024-43430: Moodle has insufficient access control. Affects moodle/moodle versions >= 4.4.0, < 4.4.2. Fixed in 4.4.2. How to fix ↓

Also tracked for

The same CVE-2024-43430 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Moodle is a widely used open-source learning platform designed to provide educators, administrators, and learners with a single robust, secure, and integrated system to create personalized learning environments. It offers a variety of features including course management, quizzes, and user tracking. However, a recent vulnerability has been identified in the Quiz API that allows external access to override access controls, potentially compromising user data and integrity.

Vulnerability Detail

The vulnerability arises from insufficient access control in the Moodle Quiz API, which allows external API access to override existing permissions. This flaw can lead to unauthorized access to quiz data, enabling malicious users to manipulate quiz settings or access sensitive information. The issue is classified under CWE-276, indicating a failure to enforce proper access restrictions. The severity of this vulnerability is rated low, but it poses risks to data integrity and user privacy if exploited.

How To Fix

Minimum fixed version

4.4.2

This is the first release that contains the fix.

composer require moodle/moodle:4.4.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict external API access to the Quiz module by modifying the access settings in your Moodle configuration. This can help mitigate the risk until the update is applied.

Conclusion

The CVE-2024-43430 vulnerability in Moodle highlights the importance of proper access control in software applications. By updating to the latest version, users can protect their systems from potential unauthorized access and ensure the integrity of their data. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for moodle/moodle →

Share this vulnerability

FAQ

CVE-2024-43430 is a vulnerability in Moodle that allows insufficient access control in the Quiz API, potentially leading to unauthorized access.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability could allow unauthorized users to access or manipulate quiz data, compromising user privacy and data integrity.

Yes, a patch is available in Moodle version 4.4.2. It is recommended to update to this version to mitigate the vulnerability.

If you cannot update immediately, consider restricting external API access to the Quiz module as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for moodle/moodle.

How To Fix

Minimum fixed version

4.4.2

This is the first release that contains the fix.

composer require moodle/moodle:4.4.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback