CVE-2024-48898: moodle Some Users Can Delete Audiences Vulnerability
MODERATECVE-2024-48898 is a MODERATE (CVSS 6.5) some users can delete audiences vulnerability (CWE-862: Missing Authorization) affecting moodle libraries in the Packagist ecosystem. The issue involves some users can delete audiences of other reports. Remediation is available by upgrading affected packages to version 4.1.14, 4.2.11, 4.3.8, 4.4.4.
CVE-2024-48898 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2024-48898
To remediate this vulnerability, upgrade all affected moodle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade moodle/moodle to 4.1.14
Upgrade moodle/moodle to 4.2.11
Upgrade moodle/moodle to 4.3.8
Upgrade moodle/moodle to 4.4.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for moodle/moodle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-48898, inspect your project dependencies for moodle:
inspect dependencies for moodle/moodle
Analyze the terminal output to locate any version of moodle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In moodle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-48898 Affected moodle Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
moodle/moodle
|
Packagist |
< 4.1.14
|
4.1.14
|
|
moodle/moodle
|
Packagist |
≥ 4.2.0
< 4.2.11
|
4.2.11
|
|
moodle/moodle
|
Packagist |
≥ 4.3.0
< 4.3.8
|
4.3.8
|
|
moodle/moodle
|
Packagist |
≥ 4.4.0
< 4.4.4
|
4.4.4
|
References
Frequently Asked Questions
What is CVE-2024-48898?
Which moodle versions are affected?
What version fixes CVE-2024-48898?
Is moodle/moodle affected?
What is the CVSS score of CVE-2024-48898?
What CWE is associated with CVE-2024-48898?
How can I check Packagist dependencies for CVE-2024-48898?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fjq9-452g-jg3q",
"modified" : "2024-11-18T23:46:44Z",
"published" : "2024-11-18T12:30:43Z",
"aliases" : [ "CVE-2024-48898" ],
"summary" : "moodle: Some users can delete audiences of other reports",
"details" : "A vulnerability was found in Moodle. Users with access to delete audiences from reports could delete audiences from other reports that they do not have permission to delete from.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.3.0"
}, {
"fixed" : "4.3.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.4.0"
}, {
"fixed" : "4.4.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-48898"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2318820"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/moodle/moodle"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-18T23:46:44Z",
"nvd_published_at" : "2024-11-18T12:15:18Z"
}
}