Backend Same-Site Request Forgery in TYPO3 CMS
Meta
- CVSS v3.1: AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C
- CWE-352
- CWE-346
Problem
It has been discovered that backend user interface and install tool are vulnerable to same-origin request forgery. A backend user can be tricked into interacting with a malicious resource an attacker previously managed to upload to the web server - scripts are then executed with the privileges of the victims' user session.
In a worst case scenario new admin users can be created which can directly be used by an attacker. The vulnerability is basically a cross-site request forgery (CSRF) triggered by a cross-site scripting vulnerability (XSS) - but happens on the same target host - thus, it’s actually a same-origin request forgery.
Malicious payload such as HTML containing JavaScript might be provided by either an authenticated backend user or by a non-authenticated user using a 3rd party extension - e.g. file upload in a contact form with knowing the target location.
The attacked victim requires an active and valid backend or install tool user sessions at the time of the attack to be successful.
Solution
Update to TYPO3 versions 9.5.17 or 10.4.2 that mitigates the problem described.
Additional Considerations
The deployment of additional mitigation techniques is suggested as described below.
Sudo Mode Extension
This TYPO3 extension intercepts modifications to security relevant database tables, e.g. those storing user accounts or storages of the file abstraction layer. Modifications need to confirmed by again by the acting user with providing their password again - this technique is known as "sudo mode". This way unintended actions happening in the background can be mitigated.
Content Security Policy
Content Security Policies tell (modern) browsers how resources served a particular site are handled - it also it possible to disallow script executions for specific locations. In a TYPO3 context it is suggested to disallow direct script execution at least for locations /fileadmin/ and /uploads/.
# in fileadmin/.htaccess
<IfModule mod_headers.c>
Header add Content-Security-Policy "default-src 'self'; script-src 'none';"
</IfModule>
Credits
Thanks to Matteo Bonaker who reported this issue and to TYPO3 security team member Oliver Hader who fixed the issue.
References
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de Composer | typo3/cms | >= 10.0.0, < 10.4.2, >= 9.0.0, < 9.5.17 | 10.4.2, 9.5.17 |
| Paquete de Composer | typo3/cms-core | >= 9.0.0, < 9.5.17, >= 10.0.0, < 10.4.2 | 9.5.17, 10.4.2 |
Referencias
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-pqg8-crx9-g8m4
- https://nvd.nist.gov/vuln/detail/CVE-2020-11069
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2020-11069.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2020-11069.yaml
- https://typo3.org/security/advisory/typo3-core-sa-2020-006
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H- Debilidad (CWE)
CWE-346, CWE-352- Plataforma
- Composer
- Paquete
typo3/cms, typo3/cms-core- Publicada
- 13.05.2020
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-pqg8-crx9-g8m4 - CC BY 4.0
Historial de vulnerabilidades: typo3/cms
Todas las vulnerabilidades publicadas de este paquete (Paquete de Composer), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 188
- Primera → última
- 09.2018 06.2024
- Sin corrección
- 3
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 6
- Alta 41
- Media 128
- Baja 13
Divulgaciones por año
- 2018: 2
- 2019: 0
- 2020: 13
- 2021: 15
- 2022: 85
- 2023: 1
- 2024: 72
- 2025: 0
- 2026: 0
-
Backend Same-Site Request Forgery in TYPO3 CMS esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.