CVE-2024-45689
NoneMoodle allows users to retrieve information they did not have permission to access
CVSS
—
EPSS
0.4%
Published
Nov 20, 2024
CISA due date
—
Cloudanix analysis
A software bug let some users view information they were not allowed to see.
- 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
Dynamic tables in Moodle bypassed capability checks, allowing users to retrieve information without the required permissions.
Why it matters to the business
Unauthorized users can access sensitive organizational or user data, increasing risk of privacy violations and compliance failures. The issue affects widely deployed Moodle instances with low but persistent exploit probability.
How an attack unfolds
An attacker with basic authenticated access crafts requests to dynamic table endpoints that omit or ignore capability enforcement, directly retrieving rows or records they are not authorized to view.
How to fix it
Upgrade moodle/moodle (GIT) to commit d4f5e92ee156002b95db1ab6f76e25870563e2f6. For libarchive on Ubuntu 14.04 LTS update to 3.1.2-7ubuntu2.3; for Ubuntu 16.04 LTS update to 3.1.2-11ubuntu0.16.04.2.
How to confirm the fix worked
After upgrade, confirm that dynamic table code paths now perform explicit capability checks before returning data and test with low-privilege accounts to verify restricted information is no longer accessible.
Typical attack path
- Obtain low-privileged authenticated session in Moodle
- Locate dynamic table rendering endpoints or AJAX handlers
- Submit requests that bypass or omit capability checks
- Extract sensitive data returned in responses
How to detect it
Search Moodle web and database logs for dynamic table requests returning data volumes or record types inconsistent with the caller's documented capabilities.
What your security team should do
- Apply the listed fixed versions immediately on all Moodle instances
- Review Moodle access and audit logs for anomalous dynamic table queries
- Temporarily restrict dynamic table features to trusted roles if patching is delayed
The record
A flaw was found in Moodle. Dynamic tables did not enforce capability checks, which resulted in users having the ability to retrieve information they did not have permission to access.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | moodle/moodle | 0 | 4.1.13 |
| Packagist | moodle/moodle | 4.2.0-beta | 4.2.10 |
| Packagist | moodle/moodle | 4.3.0-beta | 4.3.7 |
| Packagist | moodle/moodle | 4.4.0-beta | 4.4.3 |
| Bitnami | moodle | 0 | 4.1.13 |
| 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-beta | 4.2.10 |
| packagist | moodle/moodle | 4.3.0-beta | 4.3.7 |
| packagist | moodle/moodle | 4.4.0-beta | 4.4.3 |
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