CVE-2024-25121 Improper Access Control Persisting File Abstraction Layer Entities via Data Handler in TYPO3

High 7.1 Published Updated

Authenticated backend users can bypass access controls to read file names and contents from the fallback storage in TYPO3.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-25121?

CVE-2024-25121 is a high-severity missing authorization vulnerability in Typo3 Typo3, published on 13 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

TYPO3 is an open source PHP based web content management system released under the GNU GPL. In affected versions of TYPO3 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. Users are advised to update to TYPO3 version 8.7.57 ELTS, 9.5.46 ELTS, 10.4.43 ELTS, 11.5.35 LTS, 12.4.11 LTS, or 13.0.1 which fix the problem described. 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;`.

Weakness: CWE-284, CWE-200

Which versions are affected by CVE-2024-25121?

12 open source packages ship an affected version, including typo3/cms-core. It affects 1 product.

PackageAffectedFixed in
typo3/cms-core PackagistFrom 10.0.010.4.43
typo3/cms-core PackagistFrom 10.0.010.4.43
typo3/cms-core PackagistFrom 11.0.011.5.35
typo3/cms-core PackagistFrom 11.0.011.5.35
typo3/cms-core PackagistFrom 12.0.012.4.11
typo3/cms-core PackagistFrom 12.0.012.4.11
6 more packages
typo3/cms-core PackagistFrom 13.0.013.0.1
typo3/cms-core PackagistFrom 13.0.013.0.1
typo3/cms-core PackagistFrom 8.0.08.7.57
typo3/cms-core PackagistFrom 8.0.08.7.57
typo3/cms-core PackagistFrom 9.0.09.5.46
typo3/cms-core PackagistFrom 9.0.09.5.46

Products include Typo3 Typo3.

How do I fix CVE-2024-25121?

Upgrade typo3/cms-core to a fixed version for your release line: 10.4.43, 11.5.35, 12.4.11 or 13.0.1.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-25121 being exploited?

There is no known exploitation of CVE-2024-25121 in the wild and no public exploit code.

All Typo3 Typo3 vulnerabilities

Sources

Also known as GHSA-rj3x-wvc6-5j66.

Is CVE-2024-25121 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free