Bug 2277817 (CVE-2024-33999, MSA-24-0010)

Summary: CVE-2024-33999 moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 4.3.4 Doc Type: If docs needed, set a value
Doc Text:
The referrer URL used by MFA required additional sanitizing, rather than being used directly.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2282047, 2282048    
Bug Blocks: 2277786    

Description Robb Gatica 2024-04-29 16:07:20 UTC
Description: 
The referrer URL used by MFA required additional sanitizing, rather than being used directly.

Issue summary: 
Unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php

Severity/Risk: 
Minor

Versions affected: 
4.3 to 4.3.3

Versions fixed: 
4.3.4

Reported by: Petr Skoda
Issue no.: MDL-80878

Changes (master):
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-80878

Comment 1 Robb Gatica 2024-05-21 01:49:56 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 2282048]
Affects: fedora-all [bug 2282047]