GHSA-ppgf-8745-8pgx: Insecure Deserialization & Arbitrary Code Execution in TYPO3 CMS
Phar files (formerly known as "PHP archives") can act als self extracting archives which leads to the fact that source code is executed when Phar files are invoked. The Phar file format is not limited to be stored with a dedicated file extension - "bundle.phar" would be valid as well as "bundle.txt" would be.
Published Jun 5, 2024
Affected packages
typo3/cms
- Ecosystem
- Composer (PHP)
- Affected
- >= 7.0.0, < 7.6.30
- Fixed in
- 7.6.30
- Check
composer show typo3/cms
typo3/cms
- Ecosystem
- Composer (PHP)
- Affected
- >= 8.0.0, < 8.7.17
- Fixed in
- 8.7.17
- Check
composer show typo3/cms
typo3/cms
- Ecosystem
- Composer (PHP)
- Affected
- >= 9.0.0, < 9.3.2
- Fixed in
- 9.3.2
- Check
composer show typo3/cms
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Phar files (formerly known as "PHP archives") can act als self extracting archives which leads to the fact that source code is executed when Phar files are invoked. The Phar file format is not limited to be stored with a dedicated file extension - "bundle.phar" would be valid as well as "bundle.txt" would be. This way, Phar files can be obfuscated as image or text file which would not be denied from being uploaded and persisted to a TYPO3 installation. Due to a missing sanitization of user input, those Phar files can be invoked by manipulated URLs in TYPO3 backend forms. A valid backend user account is needed to exploit this vulnerability. In theory the attack vector would be possible in the TYPO3 frontend as well, however no functional exploit has been identified so far.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-2rcw-9hrm-8q7q
TYPO3 Cross-Site Scripting in Frontend User Login
medium5.4Jun 7, 2024GHSA-4h5c-5g25-v7fh
TYPO3 Cross-Site Scripting in Form Framework
medium6.1Jun 7, 2024GHSA-6487-3qvg-8px9
TYPO3 Information Disclosure in Install Tool
medium5.3Jun 7, 2024GHSA-772m-43f3-hmf8
TYPO3 Broken Access Control in Localization Handling
medium6.5Jun 7, 2024GHSA-7q33-hxwj-7p8v
TYPO3 Cross-Site Scripting in Backend Modal Component
medium5.4Jun 7, 2024GHSA-85ch-44w7-rf32
TYPO3 Cross-Site Scripting in Fluid ViewHelpers
medium6.1Jun 7, 2024
