TYPO3 Arbitrary Code Execution
The advisory, in context
Unrestricted File Upload vulnerability in the fileDenyPattern in sysext/core/Classes/Core/SystemEnvironmentBuilder.php in TYPO3 7.6.0 to 7.6.21 and 8.0.0 to 8.7.4 allows remote authenticated users to upload files with a .pht extension and consequently execute arbitrary PHP code.
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 7.6.0 before 7.6.22
Fixed in 7.6.22
22 explicitly affected versions
7.6.0, 7.6.1, 7.6.10, 7.6.11, 7.6.12, 7.6.13, 7.6.14, 7.6.15, 7.6.16, 7.6.17, 7.6.18, 7.6.19, 7.6.2, 7.6.3, 7.6.4, 7.6.5, 7.6.6, 7.6.7, 7.6.8, 7.6.9, v7.6.20, v7.6.21
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "7.6.0"
},
{
"fixed": "7.6.22"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.6.0",
"7.6.1",
"7.6.10",
"7.6.11",
"7.6.12",
"7.6.13",
"7.6.14",
"7.6.15",
"7.6.16",
"7.6.17",
"7.6.18",
"7.6.19",
"7.6.2",
"7.6.3",
"7.6.4",
"7.6.5",
"7.6.6",
"7.6.7",
"7.6.8",
"7.6.9",
"v7.6.20",
"v7.6.21"
]
}From 8.0.0 before 8.7.5
Fixed in 8.7.5
20 explicitly affected versions
8.0.0, 8.0.1, 8.1.0, 8.1.1, 8.1.2, 8.2.0, 8.2.1, 8.3.0, 8.3.1, 8.4.0, 8.4.1, 8.5.0, 8.5.1, 8.6.0, 8.6.1, 8.7.0, 8.7.1, 8.7.2, v8.7.3, v8.7.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.7.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.0.0",
"8.0.1",
"8.1.0",
"8.1.1",
"8.1.2",
"8.2.0",
"8.2.1",
"8.3.0",
"8.3.1",
"8.4.0",
"8.4.1",
"8.5.0",
"8.5.1",
"8.6.0",
"8.6.1",
"8.7.0",
"8.7.1",
"8.7.2",
"v8.7.3",
"v8.7.4"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2017-14251
- https://github.com/TYPO3/typo3
- https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2017-007
- http://blog.emaze.net/2017/12/typo3-unrestricted-file-upload-remote.html
- http://www.securityfocus.com/bid/100620
- http://www.securitytracker.com/id/1039295