Medium
Moodle: rce due to lfi risk in some misconfigured shared hosting environments
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-5550
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:47 UTC · Revision 1
Source evidence
Moodle: rce due to lfi risk in some misconfigured shared hosting environments
core-osv · Original sourcePublished 9 Nov 2023, 19:38 UTC
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.
osv:CVE-2023-5550
Complete source record
{
"id": "0881befb3d35a4a83166d1a7b9bd7307a119f77d6a2ef5b4abd6ffd9dfb195ec",
"url": "https://osv.dev/vulnerability/CVE-2023-5550",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Moodle: rce due to lfi risk in some misconfigured shared hosting environments",
"summary": "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.",
"evidence": "osv:CVE-2023-5550",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-5550",
"aliases": [
"BIT-moodle-2023-5550",
"CVE-2023-5550",
"GHSA-5cvx-cwpx-9rjh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/moodle/moodle",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "71b514944365362ceaac1018bf7970c2b080c0f2"
},
{
"introduced": "94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"
},
{
"fixed": "a11ca2d1ff661ed37abb499e1fa37ab51324ca5a"
},
{
"introduced": "8b359ad7a63cf219110bca80552fe3d4ea2a635d"
},
{
"fixed": "b72ce02928c561588861d24330b2c3619f76d116"
},
{
"introduced": "0ea3d45e04c3d54a3a472ddcb11606b30e227c50"
},
{
"fixed": "b0a7bc3f42a0db2a0bf66b93623534f5f9af3294"
},
{
"introduced": "ae4efa96ee8169a848c141ad21690165ea791552"
},
{
"fixed": "97130393545528109fb8ce9d9e45e3f84fed3880"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.9.24"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.11.0"
},
{
"fixed": "3.11.17"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.11"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v4.1.5",
"v4.2.2",
"v3.9.23",
"v3.11.16",
"v4.0.10",
"v4.0.9",
"v4.2.1",
"v3.9.22",
"v3.11.15",
"v4.1.4",
"v3.11.14",
"v3.9.21",
"v4.2.0",
"v4.0.8",
"v4.1.3",
"v4.0.7",
"v4.1.2",
"v3.11.13",
"v3.9.20",
"v4.0.6",
"v4.1.1",
"v3.9.19",
"v3.11.12",
"v4.1.0",
"v3.9.18",
"v3.11.11",
"v4.0.5",
"v3.11.10",
"v3.9.17",
"v4.0.4",
"v3.9.16",
"v3.11.9",
"v4.0.3",
"v4.0.2",
"v3.11.8",
"v3.9.15",
"v3.9.14",
"v4.0.1",
"v3.11.7",
"v4.0.0",
"v3.11.6",
"v3.9.13",
"v3.11.5",
"v3.9.12",
"v3.11.4",
"v3.9.11",
"v3.11.3",
"v3.9.10",
"v3.11.1",
"v3.11.2",
"v3.9.9",
"v3.9.8",
"v3.11.0",
"v3.9.7",
"v3.9.6",
"v3.9.5",
"v3.9.4",
"v3.9.3",
"v3.9.2",
"v3.9.1",
"v3.9.0-rc2",
"v3.9.0",
"v3.9.0-rc3",
"v3.9.0-rc1",
"v3.9.0-beta",
"v3.8.0",
"v3.8.0-rc1",
"v3.8.0-beta",
"v3.7.0",
"v3.7.0-rc2",
"v3.7.0-rc1",
"v3.7.0-beta",
"v3.6.0",
"v3.6.0-rc2",
"v3.6.0-rc3",
"v3.6.0-rc1",
"v3.6.0-beta",
"v3.5.0",
"v3.5.0-rc1",
"v3.5.0-beta",
"v3.4.0",
"v3.4.0-rc2",
"v3.4.0-rc3",
"v3.4.0-rc1",
"v3.4.0-beta",
"v3.3.0",
"v3.3.0-rc3",
"v3.3.0-rc2",
"v3.3.0-rc1",
"v3.3.0-beta",
"v3.2.0-rc2",
"v3.2.0",
"v3.2.0-rc4",
"v3.2.0-beta",
"v3.2.0-rc5",
"v3.2.0-rc3",
"v3.2.0-rc1",
"v3.1.0-beta",
"v3.1.0",
"v3.1.0-rc2",
"v3.1.0-rc1",
"v3.0.0-rc3",
"v3.0.0",
"v3.0.0-rc4",
"v3.0.0-rc2",
"v3.0.0-rc1",
"v3.0.0-beta",
"v2.9.0",
"v2.9.0-rc2",
"v2.9.0-rc1",
"v2.9.0-beta",
"v2.8.0",
"v2.8.0-rc2",
"v2.8.0-rc1",
"v2.8.0-beta",
"v2.7.0",
"v2.7.0-rc2",
"v2.7.0-rc1",
"v2.7.0-beta",
"v2.6.0",
"v2.6.0-rc1",
"v2.6.0-beta",
"v2.5.0",
"v2.5.0-rc1",
"v2.5.0-beta",
"v2.4.0-beta",
"v2.4.0-rc1",
"v2.4.0",
"v2.3.0",
"v2.3.0-rc1",
"v2.3.0-beta",
"v2.2.0",
"v2.2.0-rc1",
"v2.2.0-beta",
"v2.1.0",
"v2.0.1",
"v2.0.0",
"v2.0.0-rc2",
"v2.0.0-rc1",
"v1.3.0",
"v1.2.1",
"v1.2.0",
"v1.1.1",
"v1.1.0",
"v1.0.9",
"v1.0.8",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5550.json"
}
}
],
"modified": "2026-10-28T02:30:41.494745278Z",
"provider": "osv",
"references": [
"https://git.moodle.org",
"https://moodle.org/mod/forum/discuss.php?d=451591",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5550.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-5550",
"https://bugzilla.redhat.com/show_bug.cgi?id=2243452"
],
"provider_metadata": {
"cwe_ids": [
"CWE-94"
],
"cna_assigner": "fedora",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.3"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.6"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.11"
},
{
"introduced": "3.11.0"
},
{
"fixed": "3.11.17"
},
{
"fixed": "3.9.24"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5550.json"
}
},
"related_cves": [
{
"value": "CVE-2023-5550",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509203,
"published_at": "2023-11-09T19:38:08.611+00:00"
}