# CVE-2024-33999: moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2024-05-31T19:53:00.995Z
- Modified: 2026-09-08T08:48:15.396Z
- Also known as: GHSA-r2wx-46gp-rp3h, BIT-MOODLE-2024-33999
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: fedora

## Description

The referrer URL used by MFA required additional sanitizing, rather than being used directly.

(As written by CVE List.)

## Affected

- Moodle: from 4.3 up to 4.3.3
- moodle/moodle (Packagist): from 4.3.0 before 4.3.4
- moodle moodle: 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 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: rating High
- Bitnami Vulnerability Database: rating Critical

## References

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

## Sources

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

---

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