CVE-2024-48899: Moodle IDOR Vulnerability in Course Badges Access

moodle Updated 02 Oct 2025

Summary

03/06/2025
Yes i
Medium
Not published

CVE-2024-48899: Moodle: idor when accessing list of course badges. Affects moodle versions >= 4.4.0, < 4.4.4. Fixed in 4.4.4. How to fix ↓

Also tracked for

The same CVE-2024-48899 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 an 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 is widely used in educational institutions for course management, content delivery, and student engagement. However, it has been identified that certain access controls are insufficient, allowing unauthorized users to access course badges they should not be able to view.

Vulnerability Detail

The vulnerability identified as CVE-2024-48899 is an Insecure Direct Object Reference (IDOR) issue within Moodle. This flaw allows users to access the list of course badges for courses they are not authorized to view. The root cause of this vulnerability lies in the lack of proper access checks when fetching course badge data, potentially leading to unauthorized information disclosure. If exploited, this could compromise the integrity of course-related data and violate user privacy.

How To Fix

Minimum fixed version

4.4.4

This is the first release that contains the fix.

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

Workaround

As a temporary workaround, administrators can limit user access to course badges by modifying user roles and permissions within the Moodle settings. This can help mitigate the risk until the patch is applied. Additionally, consider monitoring user activities closely to detect any unauthorized access attempts.

Conclusion

The CVE-2024-48899 vulnerability in Moodle highlights the importance of robust access controls in educational platforms. By updating to the latest version and implementing recommended workarounds, users can protect their systems from unauthorized access and maintain data integrity.

See every vulnerability recorded for moodle →

Share this vulnerability

FAQ

CVE-2024-48899 is a vulnerability in Moodle that allows unauthorized users to access course badges they should not have access to due to insufficient access controls.

You can check if your Moodle installation is affected by using the Vulert platform, which monitors open-source vulnerabilities. Visit Vulert Scanner to analyze your application without needing to sign up.

The risks include unauthorized access to sensitive course information, potential privacy violations, and a breach of trust between users and the educational institution.

It is recommended to regularly check for updates and apply them promptly to ensure that your Moodle installation is secure and protected against known vulnerabilities.

If immediate updating is not possible, implement strict user role permissions and monitor user activities to minimize the risk of exploitation until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for moodle.

How To Fix

Minimum fixed version

4.4.4

This is the first release that contains the fix.

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