Critical
moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php
Type: advisorySources: OSV
The referrer URL used by MFA required additional sanitizing, rather than being used directly.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-33999
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:52 UTC · Revision 1
Source evidence
moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php
core-osv · Original sourcePublished 31 May 2024, 19:53 UTC
The referrer URL used by MFA required additional sanitizing, rather than being used directly.
osv:CVE-2024-33999
Complete source record
{
"id": "53fcbd924eab0f6e250ae68df99d47204fd08e48c02bad583636bb72fad800c0",
"url": "https://osv.dev/vulnerability/CVE-2024-33999",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php",
"summary": "The referrer URL used by MFA required additional sanitizing, rather than being used directly.",
"evidence": "osv:CVE-2024-33999",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-33999",
"aliases": [
"BIT-moodle-2024-33999",
"CVE-2024-33999",
"GHSA-r2wx-46gp-rp3h"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/moodle/moodle",
"type": "GIT",
"events": [
{
"introduced": "fe7aff8093240cc373f1ddaa66ecb91c4bc0a09f"
},
{
"fixed": "143c2cd5bef1268751d58bbfc6c66c1d93cb9797"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.3.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v4.3.3",
"v4.3.2",
"v4.3.1",
"v4.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-33999.json"
}
}
],
"modified": "2026-10-28T02:30:38.437431081Z",
"provider": "osv",
"references": [
"https://git.moodle.org",
"https://moodle.org/mod/forum/discuss.php?d=458387",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33999.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-33999"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "fedora",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "4.3"
},
{
"last_affected": "4.3.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33999.json"
}
},
"related_cves": [
{
"value": "CVE-2024-33999",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505884,
"published_at": "2024-05-31T19:53:00.995+00:00"
}