CVE-2022-40316 Moodle No groups filtering in H5P activity attempts report

Medium 4.3 Published Updated

Non-editing teachers can view H5P activity attempts from groups they should not access when separate groups mode is enabled.

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-2022-40316?

CVE-2022-40316 is a medium-severity vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 30 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The H5P activity attempts report did not filter by groups, which in separate groups mode could reveal information to non-editing teachers about attempts/users in groups they should not have access to.

Weakness: CWE-862

Which versions are affected by CVE-2022-40316?

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

PackageAffectedFixed in
moodle/moodle PackagistFrom 3.113.11.10
moodle/moodle PackagistFrom 3.113.11.10
moodle/moodle PackagistFrom 3.93.9.17
moodle/moodle PackagistFrom 3.93.9.17
moodle/moodle PackagistFrom 4.04.0.4
moodle/moodle PackagistFrom 4.04.0.4
1 more packages
moodle BitnamiFrom 3.9.03.9.17, 3.11.10, 4.0.4

Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Moodle Moodle.

How do I fix CVE-2022-40316?

Upgrade moodle/moodle to a fixed version for your release line: 3.11.10, 3.9.17 or 4.0.4.

Is CVE-2022-40316 being exploited?

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

All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities

Sources

Also known as BIT-moodle-2022-40316, GHSA-385f-vgq7-8hhx, UBUNTU-CVE-2022-40316.

Is CVE-2022-40316 in your software?

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

Check your SBOMs for free