GHSA-8h4m-r4wm-xj7r TYPO3 Arbitrary Code Execution via File List Module
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHPDebian
Description
Due to missing file extensions in $GLOBALS['TYPO3_CONF_VARS']['BE'][‘fileDenyPattern’], backend users are allowed to upload *.phar, *.shtml, *.pl or *.cgi files which can be executed in certain web server setups. A valid backend user account is needed in order to exploit this vulnerability.
Derivatives of Debian GNU Linux are handling *.phar files as PHP applications since PHP 7.1 (for unofficial packages) and PHP 7.2 (for official packages).
The file extension *.shtml is bound to server side includes which are not enabled per default in most common Linux based distributions. File extension *.pl and *.cgi require additional handlers to be configured which is also not the case in most common distributions (except for /cgi-bin/ location).
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| typo3/cms(Packagist) | = 8.0.0; = 8.0.1; = 8.1.0; = 8.1.1 +49 more | 8.7.23, 9.5.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| typo3/cms(Packagist) | >= 8.0.0, < 8.7.23 | 8.7.23 |
| typo3/cms(Packagist) | = 8.0.0 | No fix listed |
| typo3/cms(Packagist) | = 8.0.1 | No fix listed |
| typo3/cms(Packagist) | = 8.1.0 | No fix listed |
| typo3/cms(Packagist) | = 8.1.1 | No fix listed |
| typo3/cms(Packagist) | = 8.1.2 | No fix listed |
| typo3/cms(Packagist) | = 8.2.0 | No fix listed |
| typo3/cms(Packagist) | = 8.2.1 | No fix listed |
| typo3/cms(Packagist) | = 8.3.0 | No fix listed |
| typo3/cms(Packagist) | = 8.3.1 | No fix listed |
| typo3/cms(Packagist) | = 8.4.0 | No fix listed |
| typo3/cms(Packagist) | = 8.4.1 | No fix listed |
| typo3/cms(Packagist) | = 8.5.0 | No fix listed |
| typo3/cms(Packagist) | = 8.5.1 | No fix listed |
| typo3/cms(Packagist) | = 8.6.0 | No fix listed |
| typo3/cms(Packagist) | = 8.6.1 | No fix listed |
| typo3/cms(Packagist) | = 8.7.0 | No fix listed |
| typo3/cms(Packagist) | = 8.7.1 | No fix listed |
| typo3/cms(Packagist) | = 8.7.2 | No fix listed |
| typo3/cms(Packagist) | = v8.7.10 | No fix listed |
| typo3/cms(Packagist) | = v8.7.11 | No fix listed |
| typo3/cms(Packagist) | = v8.7.12 | No fix listed |
| typo3/cms(Packagist) | = v8.7.13 | No fix listed |
| typo3/cms(Packagist) | = v8.7.14 | No fix listed |
| typo3/cms(Packagist) | = v8.7.15 | No fix listed |
Show 28 more
| Product | Affected versions | Fixed in |
|---|---|---|
| typo3/cms(Packagist) | = v8.7.16 | No fix listed |
| typo3/cms(Packagist) | = v8.7.17 | No fix listed |
| typo3/cms(Packagist) | = v8.7.18 | No fix listed |
| typo3/cms(Packagist) | = v8.7.19 | No fix listed |
| typo3/cms(Packagist) | = v8.7.20 | No fix listed |
| typo3/cms(Packagist) | = v8.7.21 | No fix listed |
| typo3/cms(Packagist) | = v8.7.22 | No fix listed |
| typo3/cms(Packagist) | = v8.7.3 | No fix listed |
| typo3/cms(Packagist) | = v8.7.4 | No fix listed |
| typo3/cms(Packagist) | = v8.7.5 | No fix listed |
| typo3/cms(Packagist) | = v8.7.6 | No fix listed |
| typo3/cms(Packagist) | = v8.7.7 | No fix listed |
| typo3/cms(Packagist) | = v8.7.8 | No fix listed |
| typo3/cms(Packagist) | = v8.7.9 | No fix listed |
| typo3/cms(Packagist) | >= 9.0.0, < 9.5.4 | 9.5.4 |
| typo3/cms(Packagist) | = v9.0.0 | No fix listed |
| typo3/cms(Packagist) | = v9.1.0 | No fix listed |
| typo3/cms(Packagist) | = v9.2.0 | No fix listed |
| typo3/cms(Packagist) | = v9.2.1 | No fix listed |
| typo3/cms(Packagist) | = v9.3.0 | No fix listed |
| typo3/cms(Packagist) | = v9.3.1 | No fix listed |
| typo3/cms(Packagist) | = v9.3.2 | No fix listed |
| typo3/cms(Packagist) | = v9.3.3 | No fix listed |
| typo3/cms(Packagist) | = v9.4.0 | No fix listed |
| typo3/cms(Packagist) | = v9.5.0 | No fix listed |
| typo3/cms(Packagist) | = v9.5.1 | No fix listed |
| typo3/cms(Packagist) | = v9.5.2 | No fix listed |
| typo3/cms(Packagist) | = v9.5.3 | No fix listed |
References
- github.com patch
- github.com patch
- github.com
- github.com product
- typo3.org
- github.com