Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. typo3/cms
  4. ›
  5. GHSA-ppgf-8745-8pgx

GHSA-ppgf-8745-8pgx: Insecure Deserialization & Arbitrary Code Execution in TYPO3 CMS

June 5, 2024

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

  • github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2018-07-12-2.yaml
  • github.com/advisories/GHSA-ppgf-8745-8pgx
  • typo3.org/security/advisory/typo3-core-sa-2018-002

Code Behaviors & Features

Detect and mitigate GHSA-ppgf-8745-8pgx with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0.0 before 7.6.30, all versions starting from 8.0.0 before 8.7.17, all versions starting from 9.0.0 before 9.3.2

Fixed versions

  • 7.6.30
  • 8.7.17
  • 9.3.2

Solution

Upgrade to versions 7.6.30, 8.7.17, 9.3.2 or above.

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

packagist/typo3/cms/GHSA-ppgf-8745-8pgx.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.