GHSA-3vg7-jw9m-pc3f
Broken Access Control in Form Framework
Quick fix
GHSA-3vg7-jw9m-pc3f — typo3/cms-form: upgrade to the fixed version with the command below.
composer require typo3/cms-form:^8.7.40Details
### Problem 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.
### Solution Update to TYPO3 versions 8.7.40, 9.5.25, 10.4.14, 11.1.1 that fix the problem described.
### Credits Thanks to Richie Lee who reported this issue and to TYPO3 contributor Ralf Zimmermann who fixed the issue.
### References * [TYPO3-CORE-SA-2021-003](https://typo3.org/security/advisory/typo3-core-sa-2021-003)
Are you affected?
Enter the version of the package you're using.
Affected packages
8.0.0Fixed in: 8.7.40composer require typo3/cms-form:^8.7.409.0.0Fixed in: 9.5.25composer require typo3/cms-form:^9.5.2510.0.0Fixed in: 10.4.14composer require typo3/cms-form:^10.4.1411.0.0Fixed in: 11.1.1composer require typo3/cms-form:^11.1.110.0.0Fixed in: 10.4.14composer require typo3/cms-core:^10.4.1411.0.0Fixed in: 11.1.1composer require typo3/cms-core:^11.1.19.0.0Fixed in: 9.5.25composer require typo3/cms-core:^9.5.25References
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-3vg7-jw9m-pc3f[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-21357[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21357.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21357.yaml[WEB]
- https://packagist.org/packages/typo3/cms-form[WEB]
- https://typo3.org/security/advisory/typo3-core-sa-2021-003[WEB]