Path traversal vulnerability in the file manager
The advisory, in context
Impact
Authenticated users in the back end can list files outside the document root in the file manager.
Patches
Update to Contao 4.9.40, 4.13.21 or 5.1.4.
Workarounds
None.
References
https://contao.org/en/security-advisories/directory-traversal-in-the-file-manager
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
Affected 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.
From 4.9.0 before 4.9.40
Fixed in 4.9.40
40 explicitly affected versions
4.9.0, 4.9.1, 4.9.10, 4.9.11, 4.9.12, 4.9.13, 4.9.14, 4.9.15, 4.9.16, 4.9.17, 4.9.18, 4.9.19, 4.9.2, 4.9.20, 4.9.21, 4.9.22, 4.9.23, 4.9.24, 4.9.25, 4.9.26, 4.9.27, 4.9.28, 4.9.29, 4.9.3, 4.9.30, 4.9.31, 4.9.32, 4.9.33, 4.9.34, 4.9.35, 4.9.36, 4.9.37, 4.9.38, 4.9.39, 4.9.4, 4.9.5, 4.9.6, 4.9.7, 4.9.8, 4.9.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.9.0"
},
{
"fixed": "4.9.40"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.9.0",
"4.9.1",
"4.9.10",
"4.9.11",
"4.9.12",
"4.9.13",
"4.9.14",
"4.9.15",
"4.9.16",
"4.9.17",
"4.9.18",
"4.9.19",
"4.9.2",
"4.9.20",
"4.9.21",
"4.9.22",
"4.9.23",
"4.9.24",
"4.9.25",
"4.9.26",
"4.9.27",
"4.9.28",
"4.9.29",
"4.9.3",
"4.9.30",
"4.9.31",
"4.9.32",
"4.9.33",
"4.9.34",
"4.9.35",
"4.9.36",
"4.9.37",
"4.9.38",
"4.9.39",
"4.9.4",
"4.9.5",
"4.9.6",
"4.9.7",
"4.9.8",
"4.9.9"
]
}From 4.13.0 before 4.13.21
Fixed in 4.13.21
21 explicitly affected versions
4.13.0, 4.13.1, 4.13.10, 4.13.11, 4.13.12, 4.13.13, 4.13.14, 4.13.15, 4.13.16, 4.13.17, 4.13.18, 4.13.19, 4.13.2, 4.13.20, 4.13.3, 4.13.4, 4.13.5, 4.13.6, 4.13.7, 4.13.8, 4.13.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.13.0"
},
{
"fixed": "4.13.21"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.13.0",
"4.13.1",
"4.13.10",
"4.13.11",
"4.13.12",
"4.13.13",
"4.13.14",
"4.13.15",
"4.13.16",
"4.13.17",
"4.13.18",
"4.13.19",
"4.13.2",
"4.13.20",
"4.13.3",
"4.13.4",
"4.13.5",
"4.13.6",
"4.13.7",
"4.13.8",
"4.13.9"
]
}From 5.1.0 before 5.1.4
Fixed in 5.1.4
4 explicitly affected versions
5.1.0, 5.1.1, 5.1.2, 5.1.3
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.1.0",
"5.1.1",
"5.1.2",
"5.1.3"
]
}References
- https://github.com/contao/contao/security/advisories/GHSA-fp7q-xhhw-6rj3
- https://nvd.nist.gov/vuln/detail/CVE-2023-29200
- https://github.com/contao/contao/commit/6f3e705f4ff23f4419563d09d8485793569f31df
- https://contao.org/en/security-advisories/directory-traversal-in-the-file-manager
- https://contao.org/en/security-advisories/directory-traversal-in-the-file-manager.html
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2023-29200.yaml
- https://github.com/contao/contao