GHSA-cc97-g92w-jm65 TYPO3 CMS Insecure Deserialization & Arbitrary Code Execution

Not scored Published

Authenticated backend users can achieve arbitrary code execution by uploading obfuscated Phar files and triggering them via manipulated URLs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-cc97-g92w-jm65?

GHSA-cc97-g92w-jm65 is an unsafe deserialization vulnerability in typo3/cms-core, published on 30 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Which versions are affected by GHSA-cc97-g92w-jm65?

6 open source packages ship an affected version, including typo3/cms-core.

PackageAffectedFixed in
typo3/cms-core PackagistFrom 7.0.07.6.30
typo3/cms-core PackagistFrom 7.0.07.6.30
typo3/cms-core PackagistFrom 8.0.08.7.17
typo3/cms-core PackagistFrom 8.0.08.7.17
typo3/cms-core PackagistFrom 9.0.09.3.2
typo3/cms-core PackagistFrom 9.0.09.3.2

How do I fix GHSA-cc97-g92w-jm65?

Upgrade typo3/cms-core to a fixed version for your release line: 7.6.30, 8.7.17 or 9.3.2.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is GHSA-cc97-g92w-jm65 being exploited?

There is no known exploitation of GHSA-cc97-g92w-jm65 in the wild and no public exploit code.

Sources

Is GHSA-cc97-g92w-jm65 in your software?

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

Check your SBOMs for free