# CVE-2024-43431: Moodle: idor in badges allows deletion of arbitrary badges

- Severity: High 7.5 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2024-11-07T13:27:07.968Z
- Modified: 2026-09-08T08:48:15.037Z
- Also known as: GHSA-wwjf-gwrv-wh45, BIT-MOODLE-2024-43431
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: fedora

## Description

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

(As written by CVE List.)

## Affected

- moodle: before 4.1.12; from 4.2 before 4.2.9; from 4.3 before 4.3.6; from 4.4 before 4.4.2
- moodle moodle: before 4.1.12; from 4.2 before 4.2.9; from 4.3 before 4.3.6; from 4.4 before 4.4.2; from 4.2.0 before 4.2.9; from 4.3.0 before 4.3.6; from 4.4.0 before 4.4.2
- moodle/moodle (Packagist): before 4.1.12; from 4.2.0-beta before 4.2.9; from 4.3.0-beta before 4.3.6; from 4.4.0-beta before 4.4.2
- moodle (Bitnami): before 4.1.12; from 4.2.0 before 4.2.9; from 4.3.0 before 4.3.6; from 4.4.0 before 4.4.2

## Every score

- fedora: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2304259> (issue-tracking, permissions-required, web)
- <https://moodle.org/mod/forum/discuss.php?d=461199> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-43431> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2024-43431](https://www.cve.org/CVERecord?id=CVE-2024-43431), CVE Terms of Use, modified 2024-11-07
- GitHub Advisory Database: [GHSA-wwjf-gwrv-wh45](https://github.com/advisories/GHSA-wwjf-gwrv-wh45), CC-BY-4.0, modified 2025-05-02
- NVD: [CVE-2024-43431](https://nvd.nist.gov/vuln/detail/CVE-2024-43431), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2024-43431](https://osv.dev/vulnerability/BIT-MOODLE-2024-43431), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-43431 · Whole record: https://cve.day/CVE-2024-43431.json · Rebuilt by cve.day 2026-11-25T22:58:47.873Z
