GitHub Advisoryadvisory · Packagist
GHSA-x428-565f-8xj2 TYPO3 Arbitrary Code Execution and Cross-Site Scripting in Backend API
HIGH
Official page ↗
- Ecosystem
- Packagist
- Packages
- typo3/cms-core
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22, CWE-79
- Reviewed
- 2024-05-30
Affected packages
• Packagist typo3/cms-core: >= 8.0.0, < 8.7.27 → fixed in 8.7.27
• Packagist typo3/cms-core: >= 9.0.0, < 9.5.8 → fixed in 9.5.8
Description
Backend API configuration using Page TSconfig is vulnerable to arbitrary code execution and cross-site scripting. TSconfig fields of page properties in backend forms can be used to inject malicious sequences. Field tsconfig_includes is vulnerable to directory traversal leading to same scenarios as having direct access to TSconfig settings.
A valid backend user account having access to modify values for fields `pages.TSconfig` and `pages.tsconfig_includes` is needed in order to exploit this vulnerability.
Related
References
- https://github.com/TYPO3-CMS/core/commit/3a99a0877de6ad9cb39ba73146292b90e13294db web
- https://github.com/TYPO3-CMS/core/commit/822e62ec267fbe3c70a26f1c4f73f47fc615c930 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/2019-06-25-4.yaml web
- https://github.com/TYPO3-CMS/core package
- https://typo3.org/security/advisory/typo3-core-sa-2019-019 web