Bug 2277841 (CVE-2024-34005, MSA-24-0016)

Summary: CVE-2024-34005 moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_data backup
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 4.3.4, moodle 4.2.7, moodle 4.1.10 Doc Type: If docs needed, set a value
Doc Text:
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with both access to restore database activity modules and direct access to the web server outside of the Moodle webroot could execute a local file include.
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: 2282059, 2282060    
Bug Blocks: 2277786    

Description Robb Gatica 2024-04-29 16:23:46 UTC
Description: 
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with
both access to restore database activity modules and direct access to the web server outside of the Moodle webroot could execute a local file include.

Issue summary: 
Authenticated LFI risk in some misconfigured shared hosting environments via modified mod_data backup

Severity/Risk: 
Serious

Versions affected: 
4.0 to 4.3.3, 4.2 to 4.2.6, 4.1 to 4.1.9 and earlier unsupported versions

Versions fixed: 
4.3.4, 4.2.7 and 4.1.10

Reported by: Vincent Schneider (cli-ish)
Issue no.: MDL-81267

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

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

Affects: epel-all [bug 2282060]
Affects: fedora-all [bug 2282059]