GitHub Advisory Database
GHSA-3x94-fv5h-5q2c
Exposure of Sensitive Information to an Unauthorized Actor in TYPO3 CMS
Details
> ### Meta > * CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C (7.5) > * CWE-20, CWE-200
Problem
In case an attacker manages to generate a valid cryptographic message authentication code (HMAC-SHA1) - either by using a different existing vulnerability or in case the internal _encryptionKey_ was exposed - it is possible to retrieve arbitrary files of a TYPO3 installation. This includes the possibility to fetch _typo3conf/LocalConfiguration.php_ which again contains the _encryptionKey_ as well as credentials of the database management system being used.
In case a database server is directly accessible either via internet or in a shared hosting network, this allows to completely retrieve, manipulate or delete database contents. This includes creating an administration user account - which can be used to trigger remote code execution by injecting custom extensions.
Solution
Update to TYPO3 versions 9.5.20 or 10.4.6 that fix the problem described.
Credits
Thanks to TYPO3 security team member Oliver Hader who reported and fixed the issue.
References
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | typo3/cms-core | From 9.0.0 before 9.5.20 (fixed in 9.5.20) |
| Packagist | typo3/cms-core | From 10.0.0 before 10.4.6 (fixed in 10.4.6) |
| Packagist | typo3/cms | From 10.0.0 before 10.4.6 (fixed in 10.4.6) |
| Packagist | typo3/cms | From 9.0.0 before 9.5.20 (fixed in 9.5.20) |
References
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-3x94-fv5h-5q2c
- https://nvd.nist.gov/vuln/detail/CVE-2020-15099
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2020-15099.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2020-15099.yaml
- https://github.com/TYPO3/TYPO3.CMS
- https://typo3.org/security/advisory/typo3-core-sa-2020-007