GitHub Advisoryadvisory · Packagist
GHSA-cc97-g92w-jm65 TYPO3 CMS Insecure Deserialization & Arbitrary Code Execution
CRITICAL
Official page ↗
- Ecosystem
- Packagist
- Packages
- typo3/cms-core
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-74
- Reviewed
- 2024-05-30
Affected packages
• Packagist typo3/cms-core: >= 8.0.0, < 8.7.17 → fixed in 8.7.17
• Packagist typo3/cms-core: >= 9.0.0, < 9.3.2 → fixed in 9.3.2
• Packagist typo3/cms-core: >= 7.0.0, < 7.6.30 → fixed in 7.6.30
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.
Related
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://github.com/TYPO3-CMS/core/commit/81c6e9e6e49ee4f924bd340fb007d271fa44aa16 web
- https://github.com/TYPO3-CMS/core/commit/854d03841b42123ab744c2591199b76ce65a8e45 web
- https://github.com/TYPO3-CMS/core/commit/aa4e270d04313fe7d8ea508a9c694db83875e981 web
- https://github.com/TYPO3-CMS/core/commit/dd0487bd8b4ec7204dbfff2b5812d797102a1778 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/2018-07-12-2.yaml web
- https://github.com/TYPO3-CMS/core package
- https://typo3.org/security/advisory/typo3-core-sa-2018-002 web