Skip to content

TYPO3 vulnerable to Improper Access Control Persisting File Abstraction Layer Entities via Data Handler

High severity GitHub Reviewed Published Feb 13, 2024 in TYPO3/typo3 • Updated Feb 23, 2024

Package

composer typo3/cms-core (Composer)

Affected versions

>= 8.0.0, <= 8.7.56
>= 9.0.0, <= 9.5.45
>= 10.0.0, <= 10.4.42
>= 11.0.0, <= 11.5.34
>= 12.0.0, <= 12.4.10
= 13.0.0

Patched versions

8.7.57
9.5.46
10.4.43
11.5.35
12.4.11
13.0.1

Description

Problem

Entities of the File Abstraction Layer (FAL) could be persisted directly via DataHandler. This allowed attackers to reference files in the fallback storage directly and retrieve their file names and contents. The fallback storage ("zero-storage") is used as a backward compatibility layer for files located outside properly configured file storages and within the public web root directory. Exploiting this vulnerability requires a valid backend user account.

Solution

Update to TYPO3 versions 8.7.57 ELTS, 9.5.46 ELTS, 10.4.43 ELTS, 11.5.35 LTS, 12.4.11 LTS, 13.0.1 that fix the problem described.

ℹ️ Strong security defaults - Manual actions required

When persisting entities of the File Abstraction Layer directly via DataHandler, sys_file entities are now denied by default, and sys_file_reference & sys_file_metadata entities are not permitted to reference files in the fallback storage anymore.

When importing data from secure origins, this must be explicitly enabled in the corresponding DataHandler instance by using $dataHandler->isImporting = true;.

Credits

Thanks to TYPO3 core & security team member Oliver Hader who reported and fixed the issue.

References

References

@ohader ohader published to TYPO3/typo3 Feb 13, 2024
Published to the GitHub Advisory Database Feb 13, 2024
Reviewed Feb 13, 2024
Published by the National Vulnerability Database Feb 13, 2024
Last updated Feb 23, 2024

Severity

High
7.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

CVE ID

CVE-2024-25121

GHSA ID

GHSA-rj3x-wvc6-5j66

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.