CVE-2024-47051 Remote Code Execution & File Deletion in Asset Uploads
Authenticated attackers can upload executable files for remote code execution or delete arbitrary files via path traversal in Mautic.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-47051?
CVE-2024-47051 is a critical vulnerability in mautic/core, published on 26 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-47051?
2 open source packages ship an affected version, including mautic/core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mautic/core Packagist | All versions | 5.2.3 |
mautic/core Packagist | All versions | 5.2.3 |
Products include Acquia Mautic.
How do I fix CVE-2024-47051?
Upgrade mautic/core to 5.2.3 or later.
Is CVE-2024-47051 being exploited?
There is no known exploitation of CVE-2024-47051 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in mautic/core
- CVE-2022-25772 Cross-site Scripting vulnerability in Mautic's tracking pixel functionality
- CVE-2020-35125 Mautic is vulnerable to XSS vulnerability
- CVE-2020-35124 XSS vulnerability leveraged through referrers could allow un-authorized admin access in Mautic
- CVE-2020-35128 Mautic stored Cross-site Scripting (XSS)
- CVE-2017-8874 Mautic Cross-Site Request Forgery (CSRF)
Sources
Also known as GHSA-73gx-x7r9-77x2.