CVE-2021-21355

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 the lack of ensuring file extensions belong to configured allowed mime-types, attackers can upload arbitrary data with arbitrary file extensions - however, default _fileDenyPattern_ successfully blocked files like _.htaccess_ or _malicious.php_. Besides that, _UploadedFileReferenceConverter_ transforming uploaded files into proper FileReference domain model objects handles possible file uploads for other extensions as well - given those extensions use the Extbase MVC framework, make use of FileReference items in their direct or inherited domain model definitions and did not implement their own type converter. In case this scenario applies, _UploadedFileReferenceConverter_ accepts any file mime-type and persists files in the default location. In any way, uploaded files are placed in the default location _/fileadmin/user_upload/_, in most scenarios keeping the submitted filename - which allows attackers to directly reference files, or even correctly guess filenames used by other individuals, disclosing this information. No authentication is required to exploit this vulnerability. This is fixed in versions 8.7.40, 9.5.25, 10.4.14, 11.1.1.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*

History

26 Mar 2021, 18:47

Type Values Removed Values Added
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
References (MISC) https://packagist.org/packages/typo3/cms-form - (MISC) https://packagist.org/packages/typo3/cms-form - Release Notes, Third Party Advisory
References (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - (MISC) https://typo3.org/security/advisory/typo3-core-sa-2021-002 - Vendor Advisory
References (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - (CONFIRM) https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 8.6
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*

23 Mar 2021, 12:50

Type Values Removed Values Added
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown
CPE cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 8.6
v2 : unknown
v3 : unknown

23 Mar 2021, 02:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-03-23 02:15

Updated : 2023-12-10 13:41


NVD link : CVE-2021-21355

Mitre link : CVE-2021-21355

CVE.ORG link : CVE-2021-21355


JSON object : View

Products Affected

typo3

  • typo3
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type

CWE-552

Files or Directories Accessible to External Parties