Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2024-43431

CVE-2024-43431: Moodle's IDOR in badges allows deletion of arbitrary badges

November 7, 2024

A vulnerability was found in Moodle. Insufficient capability checks made it possible to delete badges that a user does not have permission to access.

References

  • bugzilla.redhat.com/show_bug.cgi?id=2304259
  • github.com/advisories/GHSA-wwjf-gwrv-wh45
  • github.com/moodle/moodle
  • moodle.org/mod/forum/discuss.php?d=461199
  • nvd.nist.gov/vuln/detail/CVE-2024-43431

Code Behaviors & Features

Detect and mitigate CVE-2024-43431 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.12, all versions starting from 4.2.0-beta before 4.2.9, all versions starting from 4.3.0-beta before 4.3.6, all versions starting from 4.4.0-beta before 4.4.2

Fixed versions

  • 4.1.12
  • 4.2.9
  • 4.3.6
  • 4.4.2

Solution

Upgrade to versions 4.1.12, 4.2.9, 4.3.6, 4.4.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-862: Missing Authorization

Source file

packagist/moodle/moodle/CVE-2024-43431.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:32 +0000.