Moodle Authenticated LFI risk in some misconfigured shared hosting environments
Impact
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with both access to restore feedback modules and direct access to the web server outside of the Moodle webroot could execute a local file include.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.3.0 before 4.3.4Ecosystem versions | 4.3.4 |
| From 4.2.0 before 4.2.7Ecosystem versions | 4.2.7 |
| Earlier releases before 4.1.10Ecosystem versions | 4.1.10 |
Version evidence: OSV · GHSA-mm9p-xwfm-3fqf
View original version evidence (353 explicit versions)
Original source 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 feedback modules and direct access to the web server outside of the Moodle webroot could execute a local file include.