CVE-2024-38277 moodle: QR login key and auto-login key for the Moodle mobile app should be generated as separate keys

Medium 5.4 Published Updated

Attackers can reuse a single key for both QR login and auto-login, potentially bypassing authentication controls in the Moodle mobile app.

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-38277?

CVE-2024-38277 is a medium-severity vulnerability in Fedoraproject Fedora, published on 18 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A unique key should be generated for a user's QR login key and their auto-login key, so the same key cannot be used interchangeably between the two.

Weakness: CWE-326, CWE-324

Which versions are affected by CVE-2024-38277?

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

PackageAffectedFixed in
moodle/moodle PackagistAll versions4.1.11
moodle/moodle PackagistAll versions4.1.11
moodle/moodle PackagistFrom 4.2.0-beta4.2.8
moodle/moodle PackagistFrom 4.2.0-beta4.2.8
moodle/moodle PackagistFrom 4.3.0-beta4.3.5
moodle/moodle PackagistFrom 4.3.0-beta4.3.5
3 more packages
moodle/moodle PackagistFrom 4.4.0-beta4.4.1
moodle/moodle PackagistFrom 4.4.0-beta4.4.1
moodle BitnamiFrom 4.1.04.1.11, 4.2.8, 4.3.5, 4.4.1

Products include Fedoraproject Fedora, Moodle Moodle.

How do I fix CVE-2024-38277?

Upgrade moodle/moodle to a fixed version for your release line: 4.1.11, 4.2.8, 4.3.5 or 4.4.1.

Is CVE-2024-38277 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-moodle-2024-38277, GHSA-r82w-3phg-qvr4.

Is CVE-2024-38277 in your software?

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

Check your SBOMs for free