GitHub Advisoryadvisory · Packagist
GHSA-67wg-6j7r-mqh8 Arbitrary Code Execution in TYPO3 CMS
CRITICAL
Official page ↗
- Ecosystem
- Packagist
- Packages
- typo3/cms
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2024-06-05
Affected packages
• Packagist typo3/cms: >= 7.6.0, < 7.6.22 → fixed in 7.6.22
• Packagist typo3/cms: >= 8.0.0, < 8.7.5 → fixed in 8.7.5
Description
Due to a missing file extension in the fileDenyPattern, backend user are allowed to upload *.pht files which can be executed in certain web server setups. The new default fileDenyPattern is the following, which might have been overridden in the TYPO3 Install Tool.
```
\.(php[3-7]?|phpsh|phtml|pht)(\..*)?$|^\.htaccess$
```
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness