CVE-2024-47051
JSON

9.1critical

Remote Code Execution & File Deletion in Asset Uploads

Severity
9.1critical CVSS:3.1 by Mautic
Exploit likelihood
2.04% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mautic
Also known as
GHSA-73gx-x7r9-77x2

Description

This advisory addresses two critical security vulnerabilities present in Mautic versions before 5.2.3. These vulnerabilities could be exploited by authenticated users. * Remote Code Execution (RCE) via Asset Upload: A Remote Code Execution vulnerability has been identified in the asset upload functionality. Insufficient enforcement of allowed file extensions allows an attacker to bypass restrictions and upload executable files, such as PHP scripts. * Path Traversal File Deletion: A Path Traversal vulnerability exists in the upload validation process. Due to improper handling of path components, an authenticated user can manipulate the file deletion process to delete arbitrary files on the host system.

Affected

Product or packageVersionsReported by
mautic/core< 5.2.3CVE List
mautic/core (Packagist)before 5.2.3GitHub Advisory Database
acquia mauticbefore 5.2.3NVD

All scores

Mautic9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
NVD9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-23CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

This advisory addresses two critical security vulnerabilities present in Mautic versions before 5.2.3. These vulnerabilities could be exploited by authenticated users. * Remote Code Execution (RCE) via Asset Upload: A Remote Code Execution vulnerability has been identified in the asset upload functionality. Insufficient enforcement of allowed file extensions allows an attacker to bypass restrictions and upload executable files, such as PHP scripts. * Path Traversal File Deletion: A Path Traversal vulnerability exists in the upload validation process. Due to improper handling of path components, an authenticated user can manipulate the file deletion process to delete arbitrary files on the host system.

GitHub Advisory Database
Summary

This advisory addresses two critical security vulnerabilities present in Mautic versions before 5.2.3. These vulnerabilities could be exploited by authenticated users.

  • Remote Code Execution (RCE) via Asset Upload: A Remote Code Execution vulnerability has been identified in the asset upload functionality. Insufficient enforcement of allowed file extensions allows an attacker to bypass restrictions and upload executable files, such as PHP scripts.

  • Path Traversal File Deletion: A Path Traversal vulnerability exists in the upload validation process. Due to improper handling of path components, an authenticated user can manipulate the file deletion process to delete arbitrary files on the host system.

Mitigation

Please update to 5.2.3 or later.

Workarounds

None

References

https://owasp.org/www-community/attacks/Code_Injection https://owasp.org/www-community/attacks/Path_Traversal

If you have any questions or comments about this advisory:

Email us at security@mautic.org

NVD (es)

Este aviso aborda dos vulnerabilidades de seguridad críticas presentes en las versiones de Mautic anteriores a la 5.2.3. Los usuarios autenticados podrían aprovechar estas vulnerabilidades. * Ejecución remota de código (RCE) mediante la carga de activos: se ha identificado una vulnerabilidad de ejecución remota de código en la funcionalidad de carga de activos. La aplicación insuficiente de las extensiones de archivo permitidas permite a un atacante eludir las restricciones y cargar archivos ejecutables, como scripts PHP. * Eliminación de archivos mediante el Path Traversal: existe una vulnerabilidad de Path Traversal en el proceso de validación de carga. Debido a la gestión inadecuada de los componentes de la ruta, un usuario autenticado puede manipular el proceso de eliminación de archivos para eliminar archivos arbitrarios en el sistema host.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47051 changed 2025-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-73gx-x7r9-77x2 changed 2025-10-16CC-BY-4.0
NVDCVE-2024-47051 changed 2026-06-17Public domain