TYPO3 CMS Possible Insecure Deserialization in Extbase Request Handling
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 8.0.0 before 8.7.30Ecosystem versions | 8.7.30 |
| From 9.0.0 before 9.5.12Ecosystem versions | 9.5.12 |
Version evidence: OSV · GHSA-hh95-5xm5-v8v7
View original version evidence (66 explicit versions)
Original source 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
- Patch github.com/TYPO3/typo3/commit/57e4ed35a6e58521a931855e702b2688b3bc3d62
- Patch github.com/TYPO3/typo3/commit/b1626ad8fd4aebedc15e424a76f86094d78b2564
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2019-12-17-7.yaml
- Source reference github.com/TYPO3/typo3
- Security advisory typo3.org/security/advisory/typo3-psa-2019-011