CVE-2023-5549 Moodle: insufficient capability checks when updating the parent of a course category

Low 3.3 Published Updated

Attackers can move course categories to unauthorized parents due to missing capability checks, allowing unauthorized data modification and privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-5549?

CVE-2023-5549 is a low-severity missing authorization vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 9 Nov 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Insufficient web service capability checks made it possible to move categories a user had permission to manage, to a parent category they did not have the capability to manage.

Weakness: CWE-269, CWE-284

Which versions are affected by CVE-2023-5549?

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

PackageAffectedFixed in
moodle/moodle PackagistAll versions4.3.0-rc2
moodle/moodle PackagistAll versions4.3.0-rc2
moodle BitnamiAll versions3.9.24, 3.11.17, 4.0.11, 4.1.6, 4.2.3

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

How do I fix CVE-2023-5549?

Upgrade moodle/moodle to 4.3.0-rc2 or later.

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

Is CVE-2023-5549 being exploited?

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

All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities

Sources

Also known as BIT-moodle-2023-5549, GHSA-fm5h-58g2-4m3f, UBUNTU-CVE-2023-5549.

Is CVE-2023-5549 in your software?

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

Check your SBOMs for free