Vulnerability advisory

CVE-2021-21355

Published Updated OSV record ↗

Also known as BIT-typo3-2021-21355GHSA-2r6j-862c-m2v2

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/TYPO3/typo3 ↗
41235ff8e38c6f3401df03ae8beddd62d662c525 to before 98b19b1727f002a9d20359f7c341c7981086989f98b19b1727f002a9d20359f7c341c7981086989f
c91b70e450c52d29ffb08115fffbb7832b15a330 to before 9f8b73eb73f0f9834979641c02708dc168e36eda9f8b73eb73f0f9834979641c02708dc168e36eda
6a5e2d4097ef0a0e3ea955af93cf83810d6fa234 to before 67471a2b5bf30acc0225fa0860e882c056c6054767471a2b5bf30acc0225fa0860e882c056c60547
Also listed as affected (50)
  • v11.1.0
  • v10.4.13
  • v11.0.0
  • v10.4.12
  • v10.4.11
  • v9.5.24
  • v10.4.10
  • v9.5.23
  • v10.4.9
  • v9.5.22
  • v10.4.8
  • v10.4.7
  • v9.5.21
  • v10.4.6
  • v9.5.20
  • v10.4.5
  • v10.4.4
  • v9.5.19
  • v10.4.3
  • v9.5.18
  • v9.5.17
  • v10.4.2
  • v10.4.1
  • v9.5.16
  • v10.4.0
  • v9.5.15
  • v10.3.0
  • v9.5.14
  • v9.5.13
  • v9.5.12
  • v10.2.0
  • v9.5.11
  • v9.5.10
  • v10.1.0
  • v9.5.9
  • v10.0.0
  • v9.5.8
  • v9.5.7
  • v9.5.6
  • v9.5.5
  • v9.5.4
  • v9.5.3
  • v9.5.2
  • v9.5.1
  • v9.5.0
  • v9.4.0
  • v9.3.0
  • v9.2.0
  • v9.1.0
  • v9.0.0
GIT github.com/typo3/typo3 ↗
41235ff8e38c6f3401df03ae8beddd62d662c525 to before 98b19b1727f002a9d20359f7c341c7981086989f98b19b1727f002a9d20359f7c341c7981086989f
c91b70e450c52d29ffb08115fffbb7832b15a330 to before 9f8b73eb73f0f9834979641c02708dc168e36eda9f8b73eb73f0f9834979641c02708dc168e36eda
6a5e2d4097ef0a0e3ea955af93cf83810d6fa234 to before 67471a2b5bf30acc0225fa0860e882c056c6054767471a2b5bf30acc0225fa0860e882c056c60547
Also listed as affected (50)
  • v11.1.0
  • v10.4.13
  • v11.0.0
  • v10.4.12
  • v10.4.11
  • v9.5.24
  • v10.4.10
  • v9.5.23
  • v10.4.9
  • v9.5.22
  • v10.4.8
  • v10.4.7
  • v9.5.21
  • v10.4.6
  • v9.5.20
  • v10.4.5
  • v10.4.4
  • v9.5.19
  • v10.4.3
  • v9.5.18
  • v9.5.17
  • v10.4.2
  • v10.4.1
  • v9.5.16
  • v10.4.0
  • v9.5.15
  • v10.3.0
  • v9.5.14
  • v9.5.13
  • v9.5.12
  • v10.2.0
  • v9.5.11
  • v9.5.10
  • v10.1.0
  • v9.5.9
  • v10.0.0
  • v9.5.8
  • v9.5.7
  • v9.5.6
  • v9.5.5
  • v9.5.4
  • v9.5.3
  • v9.5.2
  • v9.5.1
  • v9.5.0
  • v9.4.0
  • v9.3.0
  • v9.2.0
  • v9.1.0
  • v9.0.0

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 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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools