Bug 2277838 (CVE-2024-34004, MSA-24-0015)

Summary: CVE-2024-34004 moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_wiki 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 wiki 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: 2282057, 2282058    
Bug Blocks: 2277786    

Description Robb Gatica 2024-04-29 16:21:27 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 wiki 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_wiki 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-81284

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

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

Affects: epel-all [bug 2282058]
Affects: fedora-all [bug 2282057]