{"id":"CVE-2024-33999","aliases":["BIT-moodle-2024-33999","EUVD-2024-1760","GHSA-r2wx-46gp-rp3h","UBUNTU-CVE-2024-33999"],"status":"published","title":"moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php","description":"The referrer URL used by MFA required additional sanitizing, rather than being used directly.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00545,"percentile":0.46248,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2024-05-31T19:53:00Z","modified":"2026-10-28T02:30:38Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["4.3.4"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"moodle","fixed_in":["4.3.4"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"fixed":"4.3.4"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"4.3.0"},{"fixed":"4.3.4"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"fixed":"4.3.4"}]}],"versions":["v4.3.0","v4.3.1","v4.3.2","v4.3.3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=458387","tags":["x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-33999","tags":["web","advisory"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-80878","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r2wx-46gp-rp3h"},{"url":"https://git.moodle.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33999.json","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-33999","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-33999","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-33999","title":"moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php","description":"The referrer URL used by MFA required additional sanitizing, rather than being used directly.","status":"published","published":"2024-05-31T19:53:00.995Z","modified":"2024-08-29T19:59:08.016Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:34:21.784174Z"}],"euvd":[{"id":"EUVD-2024-1760","description":"The referrer URL used by MFA required additional sanitizing, rather than being used directly.","status":"published","published":"2024-05-31T19:53:00Z","modified":"2024-08-29T19:59:08Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:56:07.428873Z"}],"ghsa":[{"id":"GHSA-r2wx-46gp-rp3h","title":"Moodle Improper Input Validation","description":"Unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php. The referrer URL used by MFA required additional sanitizing, rather than being used directly.","status":"published","published":"2024-05-31T21:30:53Z","modified":"2024-06-04T15:52:12Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:53.025064Z"}],"nvd":[{"id":"CVE-2024-33999","description":"The referrer URL used by MFA required additional sanitizing, rather than being used directly.","status":"published","published":"2024-05-31T20:15:09.987Z","modified":"2026-06-17T07:32:42.783Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:10:03.465199Z"}],"osv":[{"id":"CVE-2024-33999","title":"moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php","description":"The referrer URL used by MFA required additional sanitizing, rather than being used directly.","status":"published","published":"2024-05-31T19:53:00.995Z","modified":"2026-10-28T02:30:38.437431081Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:44:40.391953Z"},{"id":"UBUNTU-CVE-2024-33999","description":"The referrer URL used by MFA required additional sanitizing, rather than being used directly.","status":"published","published":"2024-05-31T20:15:00Z","modified":"2026-09-23T18:45:08.855497281Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:54:50.784131Z"},{"id":"BIT-moodle-2024-33999","title":"moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php","description":"The referrer URL used by MFA required additional sanitizing, rather than being used directly.","status":"published","published":"2025-05-31T05:57:14.246Z","modified":"2026-09-08T08:48:15.396806403Z","updated_at":"2026-11-02T15:28:33.469426Z"},{"id":"GHSA-r2wx-46gp-rp3h","title":"Moodle Improper Input Validation","description":"Unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php. The referrer URL used by MFA required additional sanitizing, rather than being used directly.","status":"published","published":"2024-05-31T21:30:53Z","modified":"2025-05-31T06:26:56.539177Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:55.122811Z"}]}}
