HighGHSA-ppgf-8745-8pgx

Insecure Deserialization & Arbitrary Code Execution in TYPO3 CMS

Published 5 Jun 2024 · Updated 2 Dec 2024

Affected packages

typo3/cmsComposer
Affected
>=7.0.0 <7.6.30
Fixed in
7.6.30
Update to the fixed version for your release line, for example:composer require typo3/cms:^7.6.30
typo3/cmsComposer
Affected
>=8.0.0 <8.7.17
Fixed in
8.7.17
Update to the fixed version for your release line, for example:composer require typo3/cms:^8.7.17
typo3/cmsComposer
Affected
>=9.0.0 <9.3.2
Fixed in
9.3.2
Update to the fixed version for your release line, for example:composer require typo3/cms:^9.3.2

Details

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.

Is GHSA-ppgf-8745-8pgx in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.