# CVE-2024-34007: moodle: logout CSRF in admin/tool/mfa/auth.php

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2024-05-31T20:40:23.608Z
- Modified: 2026-09-08T08:48:15.155Z
- Also known as: GHSA-8g5h-gjwq-w5ch, BIT-MOODLE-2024-34007
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: fedora

## Description

The logout option within MFA did not include the necessary token to avoid the risk of users inadvertently being logged out via CSRF.

(As written by CVE List.)

## Affected

- Moodle: from 4.3 up to 4.3.3
- moodle moodle: from 4.3 up to 4.3.3; from 4.3.0 before 4.3.4
- moodle/moodle (Packagist): from 4.3.0 before 4.3.4
- moodle (Bitnami): from 4.3.0 before 4.3.4

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: rating Medium
- Bitnami Vulnerability Database: rating High

## References

- <https://moodle.org/mod/forum/discuss.php?d=458396> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34007> (advisory, web)
- <https://github.com/moodle/moodle> (package)
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-80877> (web)

## Sources

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

---

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