CSRF Risk in Admin Management of Analytics Models in Moodle
Summary
CVE-2024-34008: moodle: CSRF risk in analytics management of models. Affects moodle versions >= 4.0.0, < 4.3.4. Fixed in 4.3.4. How to fix ↓
Also tracked for
- moodle/moodle · Packagist
The same CVE-2024-34008 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
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.
No signup required · Results in about 60 seconds
Background
Moodle is an open-source learning management system (LMS) used for creating and delivering online courses. It provides a wide range of features for educators and learners, including course management, content creation, and assessment tools. However, a vulnerability has been identified in the admin management of analytics models in Moodle, which exposes the system to a CSRF risk.
Vulnerability Detail
The vulnerability arises from the lack of a necessary token in the actions performed in the admin management of analytics models. This omission opens up the system to cross-site request forgery (CSRF) attacks, where an attacker can trick an authenticated user into unknowingly performing malicious actions on their behalf. This can lead to unauthorized access, data manipulation, or other harmful consequences. The severity of this vulnerability is classified as high, with a CVSS v3 score of 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How To Fix
Minimum fixed version
4.3.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
There is no specific workaround mentioned for this vulnerability. However, administrators can mitigate the risk by implementing additional security measures, such as enforcing strong authentication mechanisms, regularly monitoring system logs for suspicious activities, and educating users about potential CSRF attacks.
Conclusion
The CSRF vulnerability in the admin management of analytics models in Moodle exposes the system to potential unauthorized access and data manipulation. It is crucial to update Moodle to the recommended versions that include the necessary token to prevent CSRF risks. Additionally, administrators should implement additional security measures to mitigate the risk of CSRF attacks.
See every vulnerability recorded for moodle →
FAQ
Moodle is an open-source learning management system (LMS) used for creating and delivering online courses. It provides a wide range of features for educators and learners, including course management, content creation, and assessment tools.
CSRF (Cross-Site Request Forgery) is an attack that tricks an authenticated user into unknowingly performing malicious actions on their behalf. It occurs when a malicious website or application sends a request to a target website where the user is authenticated, leading to unauthorized actions.
The CSRF vulnerability in the admin management of analytics models in Moodle can lead to unauthorized access, data manipulation, or other malicious actions performed by an attacker on behalf of an authenticated user.
To fix this vulnerability, it is recommended to update Moodle to the latest version (4.3.4, 4.1.10, or 4.2.7) that includes the necessary token to prevent CSRF risks in the admin management of analytics models.
While there is no specific workaround mentioned for this vulnerability, administrators can mitigate the risk by implementing additional security measures, such as enforcing strong authentication mechanisms and regularly monitoring system logs for suspicious activities.
References
Related vulnerabilities
Recent vulnerabilities recorded for moodle.