CVE-2023-5542 Moodle: students can view other users in "only see own membership" groups
Students can view other users in groups configured to hide membership, exposing private user data in Moodle.
- 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-5542?
CVE-2023-5542 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
Students in "Only see own membership" groups could see other students in the group, which should be hidden.
Which versions are affected by CVE-2023-5542?
3 open source packages ship an affected version, including moodle/moodle and moodle. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
moodle/moodle Packagist | All versions | 4.3.0-rc2 |
moodle/moodle Packagist | All versions | 4.3.0-rc2 |
moodle Bitnami | From 4.2.2 | 4.2.3 |
Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Moodle Moodle.
How do I fix CVE-2023-5542?
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-5542 being exploited?
There is no known exploitation of CVE-2023-5542 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Extra Packages for Enterprise Linux
- CVE-2023-34152 Command injection in ImageMagick
- CVE-2022-4170 Code injection in rxvt-unicode
- CVE-2022-40315 Moodle Minor SQL injection risk in admin user browsing
- CVE-2022-45152 Moodle blind Server-Side Request Forgery (SSRF) vulnerability in LTI provider library
- CVE-2022-24882 Server side NTLM does not properly check parameters in FreeRDP
All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities
Sources
Also known as BIT-moodle-2023-5542, GHSA-8mm2-m2gp-c6x2, UBUNTU-CVE-2023-5542.