GitHub Advisory Database
GHSA-c5wx-6c2c-f7rm
TYPO3 CMS vulnerable to Arbitrary Code Execution via Form Framework
Details
Problem
Due to the lack of separating user-submitted data from the internal configuration in the Form Designer backend module, it was possible to inject code instructions to be processed and executed via TypoScript as PHP code.
The existence of individual TypoScript instructions for a particular form item (known as formDefinitionOverrides) and a valid backend user account with access to the form module are needed to exploit this vulnerability.
Solution
Update to TYPO3 versions 8.7.49 ELTS, 9.5.38 ELTS, 10.4.33, 11.5.20, 12.1.1 that fix the problem described above.
References
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | typo3/cms-core | From 8.0.0 before 8.7.49 (fixed in 8.7.49) |
| Packagist | typo3/cms-core | From 9.0.0 before 9.5.38 (fixed in 9.5.38) |
| Packagist | typo3/cms-core | From 10.0.0 before 10.4.33 (fixed in 10.4.33) |
| Packagist | typo3/cms-core | From 11.0.0 before 11.5.20 (fixed in 11.5.20) |
| Packagist | typo3/cms-core | From 12.0.0 before 12.1.1 (fixed in 12.1.1) |
| Packagist | typo3/cms | From 10.0.0 before 10.4.33 (fixed in 10.4.33) |
| Packagist | typo3/cms | From 11.0.0 before 11.5.20 (fixed in 11.5.20) |
| Packagist | typo3/cms | From 12.0.0 before 12.1.1 (fixed in 12.1.1) |
References
- https://github.com/TYPO3/typo3/security/advisories/GHSA-c5wx-6c2c-f7rm
- https://nvd.nist.gov/vuln/detail/CVE-2022-23503
- https://github.com/TYPO3/typo3/commit/1302e88565821f2159e08b5d818d28de17ecc830
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2022-23503.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2022-23503.yaml
- https://github.com/TYPO3/typo3
- https://typo3.org/security/advisory/typo3-core-sa-2022-015