CVE-2024-33996
Medium · 6.2CVSS
6.2
EPSS
0.4%
Published
May 31, 2024
CISA due date
—
Cloudanix analysis
Some users could create calendar events they weren't supposed to, which might share information with the wrong people.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
The vulnerability stems from insufficient validation of event types in the calendar web service, permitting users to specify event audiences beyond their authorized permissions.
Why it matters to the business
This could result in unauthorized publication of events, potentially exposing sensitive information or disrupting normal operations within the learning platform.
How an attack unfolds
An attacker with limited permissions sends crafted requests to the calendar web service endpoint, bypassing the event type checks to create events with restricted audiences.
How to fix it
Update to the fixed commit e8d03fdae4ec30a40cdc535c8e9e95f30604ec10 in the moodle/moodle repository.
How to confirm the fix worked
Verify the codebase contains the commit hash e8d03fdae4ec30a40cdc535c8e9e95f30604ec10 and test that users cannot create unauthorized event types.
Typical attack path
- Identify calendar web service endpoint
- Craft malicious event creation request with unauthorized type
- Submit request to create event
- Verify event publication
How to detect it
Examine web server logs for unusual calendar event creation requests and audit event type fields for anomalies.
What your security team should do
- Apply the security patch immediately
- Review calendar event permissions
- Monitor for unusual event creations
The record
Incorrect validation of allowed event types in a calendar web service made it possible for some users to create events with types/audiences they did not have permission to publish to.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | moodle/moodle | 0 | 4.1.10 |
| Packagist | moodle/moodle | 4.2.0 | 4.2.7 |
| Packagist | moodle/moodle | 4.3.0 | 4.3.4 |
| Bitnami | moodle | 0 | 4.1.10 |
| Ubuntu:16.04:LTS | moodle | 0 | No fix |
| Ubuntu:18.04:LTS | moodle | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | moodle | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | moodle | 0 | No fix |
| packagist | moodle/moodle | 4.2.0 | 4.2.7 |
| packagist | moodle/moodle | 4.3.0 | 4.3.4 |
Related vulnerabilities
- GHSA-ggxq-2mg9-8966 Moodle has a Remote Code Execution risk via file restore Also affects moodle/moodle
- GHSA-cg8j-5cr2-568q Moodle TeX formula editor is vulnerable to DoS through lack of execution time limits Also affects moodle/moodle
- CVE-2026-26047 A denial-of-service vulnerability was identified in Moodle’s TeX formula editor. Also affects moodle/moodle
- CVE-2026-26045 A flaw was identified in Moodle’s backup restore functionality where specially crafted… Also affects moodle/moodle
- GHSA-5cx4-w4fh-fr57 Moodle Affected by Improper Restriction of Excessive Authentication Attempts Also affects moodle/moodle
- GHSA-8jrv-wx83-w3xj Moodle Inserts Sensitive Information Into Sent Data Also affects moodle/moodle
- GHSA-hcm6-q6pc-xfhm Moodle has an authorization logic flaw Also affects moodle/moodle
- GHSA-qv78-6gpp-hm68 Moodle Open Redirect vulnerability Also affects moodle/moodle