CVE-2021-21357

Summary

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 Software

VendorProductVersion RangeStatus
TYPO3TYPO3.CMS>= 8.0.0, <= 8.7.39affected
TYPO3TYPO3.CMS>= 9.0.0, <= 9.5.24affected
TYPO3TYPO3.CMS>= 10.0.0, <= 10.4.13affected
TYPO3TYPO3.CMS>= 11.0.0, <= 11.1.0affected

Weaknesses

  • CWE-20: CWE-20 Improper Input Validation
  • CWE-22: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-434: CWE-434 Unrestricted Upload of File with Dangerous Type

ADP Enrichment

CVE Program Container

Additional References

References