Vulnerability · Published Mar 23, 2021 · Assigned by GitHub_M
CVE-2021-21357Broken Access Control in Form Framework
High 8.3
In plain English
A high-severity improper input validation in TYPO3.CMS from TYPO3. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
TYPO3 is an open source PHP based web content management system. In TYPO3 before versions 8.7.40, 9.5.25, 10.4.14, 11.1.1 due to improper input validation, attackers can by-pass restrictions of predefined options and submit arbitrary data in the Form Designer backend module of the Form Framework. In the default configuration of the Form Framework this allows attackers to explicitly allow arbitrary mime-types for file uploads - however, default _fileDenyPattern_ successfully blocked files like _.htaccess_ or _malicious.php_. Besides that, attackers can persist those files in any writable directory of the corresponding TYPO3 installation. A valid backend user account with access to the form module is needed to exploit this vulnerability. This is fixed in versions 8.7.40, 9.5.25, 10.4.14, 11.1.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | typo3/cms | 10.4.14 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms | 9.5.25 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms | 11.1.1 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms-core | 11.1.1 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms-core | 10.4.14 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms-core | 9.5.25 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms-form | 9.5.25 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms-form | 11.1.1 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms-form | 10.4.14 | GHSA-3vg7-jw9m-pc3f |
| Packagist | typo3/cms-form | 8.7.40 | GHSA-3vg7-jw9m-pc3f |
Affected products (as reported)
Weakness: CWE-20, CWE-22, CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
References
- https://packagist.org/packages/typo3/cms-form x_refsource_MISC
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-3vg7-jw9m-pc3f x_refsource_CONFIRM
- https://typo3.org/security/advisory/typo3-core-sa-2021-003 x_refsource_MISC