Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mautic/core
  4. ›
  5. CVE-2024-47051

CVE-2024-47051: Mautic allows Remote Code Execution and File Deletion in Asset Uploads

February 26, 2025

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.

References

  • github.com/advisories/GHSA-73gx-x7r9-77x2
  • github.com/mautic/mautic
  • github.com/mautic/mautic/commit/75bc488ce98b9c8ec01114984049fc1c42c0cae5
  • github.com/mautic/mautic/security/advisories/GHSA-73gx-x7r9-77x2
  • nvd.nist.gov/vuln/detail/CVE-2024-47051

Code Behaviors & Features

Detect and mitigate CVE-2024-47051 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.2.3

Fixed versions

  • 5.2.3

Solution

Upgrade to version 5.2.3 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/mautic/core/CVE-2024-47051.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:41 +0000.