GitHub Advisoryadvisory · Packagist

GHSA-3vg7-jw9m-pc3f Broken Access Control in Form Framework

HIGH Published 2021-03-23 Modified 2021-03-29 Official page ↗
Aliases
CVE-2021-21357
Ecosystem
Packagist
Packages
typo3/cms-form, typo3/cms-core, typo3/cms
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H/E:H/RL:O/RC:C
Weaknesses
CWE-20, CWE-22, CWE-434
Reviewed
2021-03-23

Affected packages

• Packagist typo3/cms-form: >= 8.0.0, < 8.7.40 → fixed in 8.7.40 • Packagist typo3/cms-form: >= 9.0.0, < 9.5.25 → fixed in 9.5.25 • Packagist typo3/cms-form: >= 10.0.0, < 10.4.14 → fixed in 10.4.14 • Packagist typo3/cms-form: >= 11.0.0, < 11.1.1 → fixed in 11.1.1 • Packagist typo3/cms-core: >= 10.0.0, < 10.4.14 → fixed in 10.4.14 • Packagist typo3/cms-core: >= 11.0.0, < 11.1.1 → fixed in 11.1.1 • Packagist typo3/cms-core: >= 9.0.0, < 9.5.25 → fixed in 9.5.25 • Packagist typo3/cms: >= 10.0.0, < 10.4.14 → fixed in 10.4.14 • Packagist typo3/cms: >= 11.0.0, < 11.1.1 → fixed in 11.1.1 • Packagist typo3/cms: >= 9.0.0, < 9.5.25 → fixed in 9.5.25

Description

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

Related

Alias · CVE (1)

  • CVE-2021-21357 TYPO3 is an open source PHP based web content management system. vulnerability

Weakness · CWE (3)

  • CWE-20 Improper Input Validation weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-434 Unrestricted Upload of File with Dangerous Type weakness

References