CVE-2024-47051: Remote Code Execution & File Deletion in Asset Uploads

9.1 CVSS

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.

Classification

CVE ID: CVE-2024-47051

CVSS Base Severity: CRITICAL

CVSS Base Score: 9.1

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Problem Types

CWE-23 CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

Vendor: Mautic

Product: mautic/core

Exploit Prediction Scoring System (EPSS)

EPSS Score: 1.22% (probability of being exploited)

EPSS Percentile: 76.68% (scored less or equal to compared to others)

EPSS Date: 2025-03-27 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-47051
https://github.com/mautic/mautic/security/advisories/GHSA-73gx-x7r9-77x2
https://owasp.org/www-community/attacks/Code_Injection
https://owasp.org/www-community/attacks/Path_Traversal

Timeline