GHSA-W6X2-JG8H-P6MP
Path Traversal in TYPO3 File Abstraction Layer Storages
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-W6X2-JG8H-P6MP divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
### Problem
Configurable storages using the local driver of the File Abstraction Layer (FAL) could be configured to access directories outside of the root directory of the corresponding project. The system setting in `BE/lockRootPath` was not evaluated by the file abstraction layer component. An administrator-level backend user account is required to exploit this vulnerability.
### Solution
Update to TYPO3 versions 8.7.57 ELTS, 9.5.46 ELTS, 10.4.43 ELTS, 11.5.35 LTS, 12.4.11 LTS, 13.0.1 that fix the problem described.
ℹ️ Strong security defaults - Manual actions required
_see Important: #102800 changelog https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.5.x/Important-102800-FileAbstractionLayerEnforcesAbsolutePathsToMatchProjectRootOrLockRootPath.html_
Assuming that a web project is located in the directory `/var/www/example.org` (the "project root path" for Composer-based projects) and the publicly accessible directory is located at `/var/www/example.org/public` (the "public root path"), accessing resources via the File Abstraction Layer component is limited to the mentioned directories.
To grant additional access to directories, they must be explicitly configured in the system settings of `$GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath']` - either using the Install Tool or according to deployment techniques. The existing setting has been extended to support multiple directories configured as an array of strings.
Example:
$GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] = [
‘/var/shared/documents/’,
‘/var/shared/images/’,
];❗ Storages that reference directories not explicitly granted will be marked as "offline" internally - no resources can be used in the website's frontend and backend context.
### Credits
Thanks to TYPO3 core & security team members Oliver Hader and Benjamin Franzke who fixed the issue.
### References
* TYPO3-CORE-SA-2024-001 https://typo3.org/security/advisory/typo3-core-sa-2024-001
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagisttypo3/cms-core |
Corregida | 8.7.57, 9.5.46, 10.4.43, 11.5.35, 12.4.11, 13.0.1 | — | — |
8.7.579.5.4610.4.4311.5.3512.4.1113.0.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2023-30451https://github.com/TYPO3/typo3/security/advisories/GHSA-w6x2-jg8h-p6mphttps://github.com/TYPO3/typo3/commit/205115cca3d67594a12d0195c937da0e51eb494ahttps://github.com/TYPO3/typo3/commit/78fb9287a2f0487c39288070cb0493a5265f1789https://github.com/TYPO3/typo3/commit/accf537c7379b4359bc0f957c4d0c07baddd710ahttps://github.com/TYPO3/typo3https://typo3.org/security/advisory/typo3-core-sa-2024-001http://packetstormsecurity.com/files/176274/TYPO3-11.5.24-Path-Traversal.htmlLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
