GHSA-rj3x-wvc6-5j66
TYPO3 vulnerable to Improper Access Control Persisting File Abstraction Layer Entities via Data Handler
Quick fix
GHSA-rj3x-wvc6-5j66 — typo3/cms-core: upgrade to the fixed version with the command below.
composer require typo3/cms-core:^8.7.57Details
### 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 * [TYPO3-CORE-SA-2024-006](https://typo3.org/security/advisory/typo3-core-sa-2024-006)
Are you affected?
Enter the version of the package you're using.
Affected packages
8.0.0Fixed in: 8.7.57composer require typo3/cms-core:^8.7.579.0.0Fixed in: 9.5.46composer require typo3/cms-core:^9.5.4610.0.0Fixed in: 10.4.43composer require typo3/cms-core:^10.4.4311.0.0Fixed in: 11.5.35composer require typo3/cms-core:^11.5.3512.0.0Fixed in: 12.4.11composer require typo3/cms-core:^12.4.1113.0.0Fixed in: 13.0.1composer require typo3/cms-core:^13.0.1References
- https://github.com/TYPO3/typo3/security/advisories/GHSA-rj3x-wvc6-5j66[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-25121[ADVISORY]
- https://github.com/TYPO3/typo3/commit/38f0bf9a61e10365be26eb75bc23a81184dbed07[WEB]
- https://github.com/TYPO3/typo3/commit/71e652bf84b16fd3592205f61f36750ab03db74c[WEB]
- https://github.com/TYPO3/typo3/commit/b47b6ddf5a5f3f852c6e43f837360780c12e3c47[WEB]
- https://github.com/TYPO3/typo3[PACKAGE]
- https://typo3.org/security/advisory/typo3-core-sa-2024-006[WEB]