GitHub Advisoryadvisory · Packagist
GHSA-73gx-x7r9-77x2 Mautic allows Remote Code Execution and File Deletion in Asset Uploads
CRITICAL
Official page ↗
- Aliases
- CVE-2024-47051
- Ecosystem
- Packagist
- Packages
- mautic/core
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
- Weaknesses
- CWE-23, CWE-94
- Reviewed
- 2025-02-26
Affected packages
• Packagist mautic/core: < 5.2.3 → fixed in 5.2.3
Description
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 [email protected]
Related
Alias · CVE (1)
- CVE-2024-47051 This advisory addresses two critical security vulnerabilities present in Mautic versions before 5.2.3. vulnerability
References
- https://github.com/mautic/mautic/security/advisories/GHSA-73gx-x7r9-77x2 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-47051 advisory
- https://github.com/mautic/mautic/commit/75bc488ce98b9c8ec01114984049fc1c42c0cae5 web
- https://github.com/mautic/mautic package
- https://owasp.org/www-community/attacks/Code_Injection web
- https://owasp.org/www-community/attacks/Path_Traversal web