GitHub Advisoryadvisory · Packagist
GHSA-hh95-5xm5-v8v7 TYPO3 CMS Possible Insecure Deserialization in Extbase Request Handling
HIGH
Official page ↗
- Ecosystem
- Packagist
- Packages
- typo3/cms
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Reviewed
- 2024-06-07
Affected packages
• Packagist typo3/cms: >= 8.0.0, < 8.7.30 → fixed in 8.7.30
• Packagist typo3/cms: >= 9.0.0, < 9.5.12 → fixed in 9.5.12
Description
It has been discovered that request handling in Extbase can be vulnerable to insecure deserialization. User submitted payload has to be signed with a corresponding HMAC-SHA1 using the sensitive TYPO3 encryptionKey as secret - invalid or unsigned payload is not deserialized.
However, since sensitive information could have been leaked by accident (e.g. in repositories or in commonly known and unprotected backup files), there is the possibility that attackers know the private encryptionKey and are able to calculate the required HMAC-SHA1 to allow a malicious payload to be deserialized.
Requirements for successfully exploiting this vulnerability (all of the following):
• rendering at least one Extbase plugin in the frontend
• encryptionKey has been leaked (from LocalConfiguration.php or corresponding .env file)
References
- https://github.com/TYPO3/typo3/commit/57e4ed35a6e58521a931855e702b2688b3bc3d62 web
- https://github.com/TYPO3/typo3/commit/b1626ad8fd4aebedc15e424a76f86094d78b2564 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2019-12-17-7.yaml web
- https://github.com/TYPO3/typo3 package
- https://typo3.org/security/advisory/typo3-psa-2019-011 web