CVE-2023-5550
published medium CVSS 3.1 · 6.5Moodle: rce due to lfi risk in some misconfigured shared hosting environments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | moodle4.2.0 to < 4.2.3 · 4.1.0 to < 4.1.6 · 4.0.0 to < 4.0.11 · 3.11.0 to < 3.11.17 · 0 to < 3.9.24 · Other versions: unaffected | Affected | Not stated | fedora |
| moodle | — | moodle4.2.0 to < 4.2.3 · 4.1.0 to < 4.1.6 · 4.0.0 to < 4.0.11 · 3.11.0 to < 3.11.17 · 0 to < 3.9.24 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user who also has direct access to the web server outside of the Moodle webroot could utilise a local file include to achieve remote code execution.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- fedora · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moodle | 4.2.0 to < 4.2.3 (affected · semver)4.1.0 to < 4.1.6 (affected · semver)4.0.0 to < 4.0.11 (affected · semver)3.11.0 to < 3.11.17 (affected · semver)0 to < 3.9.24 (affected · semver)Default: unaffected | fedora · cna | |
| moodle | moodle | 4.2.0 to < 4.2.3 (affected · custom)4.1.0 to < 4.1.6 (affected · custom)4.0.0 to < 4.0.11 (affected · custom)3.11.0 to < 3.11.17 (affected · custom)0 to < 3.9.24 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
3- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72249
- RHBZ#2243452 https://bugzilla.redhat.com/show_bug.cgi?id=2243452
- https://moodle.org/mod/forum/discuss.php?d=451591
Provider assertions
3fedora · cna
Moodle: rce due to lfi risk in some misconfigured shared hosting environments
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- af99758c923017f3e33487e9458ee3ebec7dc69dae2d5d8ef7476376369cbf3c
- Ingested
- 23 Sep 2026, 08:15:31 UTC
- Source record
- Official CVE record