CVE-2023-1402: Moodle may display roles to users who don't have access to them

Published Mar 17, 2023
·
Updated

Moodle may display roles to users who don't have access to them

Other sources

The course participation report required additional checks to prevent roles being displayed which the user did not have access to view.

— GitHub

Affected Software

20 affected componentsFixes available
composer/moodle/moodle<3.9.20
3.9.20
composer/moodle/moodle>=3.11.0<3.11.13
3.11.13
composer/moodle/moodle>=4.0.0<4.0.7
4.0.7
composer/moodle/moodle>=4.1.0<4.1.2
4.1.2
Moodle Moodle>3.9.0<3.9.20
Moodle Moodle>3.11.0<3.11.13
Moodle Moodle>4.0.0<4.0.7
Moodle Moodle=3.9.0
Moodle Moodle=3.11.0
Moodle Moodle=4.0.0
Moodle Moodle=4.1.0
Moodle Moodle=4.1.1
redhat/moodle<4.1.2
4.1.2
redhat/moodle<4.0.7
4.0.7
redhat/moodle<3.11.13
3.11.13
redhat/moodle<3.9.20
3.9.20
composer/moodle/moodle<3.9.20
3.9.20
composer/moodle/moodle>=3.11.0, <3.11.13
3.11.13
composer/moodle/moodle>=4.0.0, <4.0.7
4.0.7
composer/moodle/moodle>=4.1.0, <4.1.2
4.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 3.9.20
  2. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 3.11.13
  3. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 4.0.7
  4. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 4.1.2
  5. Upgrade

    Upgrade redhat/moodle to a version that resolves this vulnerability.

    Fixed in 4.1.2
  6. Upgrade

    Upgrade redhat/moodle to a version that resolves this vulnerability.

    Fixed in 4.0.7
  7. Upgrade

    Upgrade redhat/moodle to a version that resolves this vulnerability.

    Fixed in 3.11.13
  8. Upgrade

    Upgrade redhat/moodle to a version that resolves this vulnerability.

    Fixed in 3.9.20

Event History

Mar 17, 2023
Data Sourced
via Red Hat·06:05 PM
DescriptionSeverityAffected Software
Mar 23, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·09:30 PM
Data Sourced
via GitHub·09:30 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·09:30 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability CVE-2023-1402?

CVE-2023-1402 is a vulnerability in Moodle that allows unauthorized roles to be displayed in the course participation report.

2

How does CVE-2023-1402 impact Moodle?

CVE-2023-1402 impacts Moodle by exposing roles that users do not have access to view in the course participation report.

3

What is the severity of CVE-2023-1402?

CVE-2023-1402 has a severity rating of medium (4.3).

4

Which versions of Moodle are affected by CVE-2023-1402?

CVE-2023-1402 affects Moodle versions 3.9.0 to 3.9.20, 3.11.0 to 3.11.13, 4.0.0 to 4.0.7, 4.1.0, and 4.1.1.

5

Is there a fix available for CVE-2023-1402?

Yes, upgrading Moodle to a version beyond the affected range (3.9.21 or higher, 3.11.14 or higher, 4.0.8 or higher, 4.1.2 or higher) resolves the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203