CVE-2024-48901
Medium · 4.3moodle: IDOR when fetching report schedules
CVSS
4.3
EPSS
0.3%
Published
Nov 18, 2024
CISA due date
—
Cloudanix analysis
Some users could view reporting schedules they were never meant to see because a permission check was missing.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Missing permission checks allow users without edit rights on a report to access its schedule details via direct requests.
Why it matters to the business
Attackers with limited access could view scheduled reporting configurations that should be restricted, potentially exposing operational details and sensitive data handling practices.
How an attack unfolds
An authenticated user identifies report schedule endpoints and submits requests for schedules belonging to reports they cannot edit; the application fails to enforce the required edit permission check and returns the schedule data.
How to fix it
Upgrade affected Moodle instances to versions containing the additional permission checks. For listed libarchive packages on Ubuntu 14.04 LTS apply 3.1.2-7ubuntu2.3 and on Ubuntu 16.04 LTS apply 3.1.2-11ubuntu0.16.04.2.
How to confirm the fix worked
Confirm the presence of updated Moodle code that performs explicit edit-permission checks before returning schedule data; test by attempting schedule access with a user lacking edit rights and verify denial.
Typical attack path
- Obtain a low-privileged authenticated session in Moodle
- Discover or guess report schedule access URLs or API endpoints
- Submit requests for schedules tied to reports without holding edit permission
- Receive unauthorized schedule information due to absent authorization enforcement
How to detect it
Review web server and application logs for requests to report schedule endpoints by users who do not hold edit rights on the referenced report; correlate with authentication and authorization events.
What your security team should do
- Apply the permission-check fix to all Moodle instances immediately
- Audit existing report schedules for unintended visibility after patching
- Review and tighten report-related permission assignments across the platform
The record
A vulnerability was found in Moodle. Additional checks are required to ensure users can only access the schedule of a report if they have permission to edit that report.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | moodle/moodle | 0 | 4.1.14 |
| Packagist | moodle/moodle | 4.2.0 | 4.2.11 |
| Packagist | moodle/moodle | 4.3.0 | 4.3.8 |
| Packagist | moodle/moodle | 4.4.0 | 4.4.4 |
| Bitnami | moodle | 0 | 4.1.14 |
| Bitnami | moodle | 0 | 4.1.18 |
| 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.11 |
| packagist | moodle/moodle | 4.3.0 | 4.3.8 |
| packagist | moodle/moodle | 4.4.0 | 4.4.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