CVE-2024-47051: Remote Code Execution & File Deletion in Asset Uploads
Impact
Mautic allows you to update the application via an upgrade script.
The upgrade logic isn't shielded off correctly, which may lead to vulnerable situation.
This vulnerability is mitigated by the fact that Mautic needs to be installed in a certain way to be vulnerable
Patches
Please upgrade to 4.4.1 or 5.1.1 or later.
Workarounds None.
For more information If you have any questions or comments about this advisory: Email us at security@mautic.org
Other sources
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/CodeInjection https://owasp.org/www-community/attacks/PathTraversal
If you have any questions or comments about this advisory:
Email us at security@mautic.org
— GitHub
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.
— NVD
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47051?
CVE-2024-47051 has a moderate severity level due to its potential to expose the system under specific installation conditions.
How do I fix CVE-2024-47051?
To fix CVE-2024-47051, you should upgrade Mautic to version 5.1.1 or 4.4.13.
What versions of Mautic are affected by CVE-2024-47051?
CVE-2024-47051 affects Mautic versions prior to 5.1.1 and 4.4.13.
Is CVE-2024-47051 easy to exploit?
Exploitation of CVE-2024-47051 requires specific installation conditions, which may limit its impact.
What is the nature of CVE-2024-47051 vulnerability?
CVE-2024-47051 involves improper shielding of the upgrade logic in Mautic, leading to potential vulnerabilities.