CVE-2024-25981 Msa-24-0004: forum export did not respect activity group settings

Medium 4.3 Published Updated

Moodle forum exports ignored group restrictions, allowing non-editing teachers to access data from all groups.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-25981?

CVE-2024-25981 is a medium-severity missing authorization vulnerability in Fedoraproject Fedora, published on 19 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Separate Groups mode restrictions were not honored when performing a forum export, which would export forum data for all groups. By default this only provided additional access to non-editing teachers.

Weakness: CWE-284

Which versions are affected by CVE-2024-25981?

7 open source packages ship an affected version, including moodle/moodle and moodle. It affects 2 products.

PackageAffectedFixed in
moodle/moodle PackagistAll versions4.1.9
moodle/moodle PackagistAll versions4.1.9
moodle/moodle PackagistFrom 4.2.04.2.6
moodle/moodle PackagistFrom 4.2.04.2.6
moodle/moodle PackagistFrom 4.3.04.3.3
moodle/moodle PackagistFrom 4.3.04.3.3
1 more packages
moodle BitnamiAll versions4.1.9, 4.2.6, 4.3.3

Products include Fedoraproject Fedora, Moodle Moodle.

How do I fix CVE-2024-25981?

Upgrade moodle/moodle to a fixed version for your release line: 4.1.9, 4.2.6 or 4.3.3.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-25981 being exploited?

There is no known exploitation of CVE-2024-25981 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-moodle-2024-25981, GHSA-jfrg-9hpq-9hvp, UBUNTU-CVE-2024-25981.

Is CVE-2024-25981 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free