cve.bz

CVE-2024-47056 mautic mautic

5.1 mediumEPSS 0.1%Fix available

Medium (5.1) in mautic mautic. EPSS 0.1% estimated probability of exploitation activity in the next 30 days. Fixed in mautic/core 4.4.16, 5.2.6, 6.0.2.

On this page
SummaryThis advisory addresses a security vulnerability in Mautic where sensitive .env configuration files may be directly accessible via a web browser. This exposure could lead to the disclosure of sensitive information, including database credentials, API keys, and other critical system configurations. Sensitive Information Disclosure via .env File Exposure: The .env file, which typically contains environment variables and sensitive application configurations, is directly accessible via a web browser due to missing web server configurations that restrict access to such files. This allows an unauthenticated attacker to view the contents of this file by simply navigating to its URL. MitigationUpdate Mautic to the latest Mautic version. By default, Mautic does not use .env files for production data. For Apache users: Ensure your web server is configured to respect .htaccess files. For Nginx users: As Nginx does not inherently support .htaccess files, you must manually add a configuration block to your Nginx server configuration to deny access to .env files. Add the following to your Nginx configuration for the Mautic site: location ~ /\.env { deny all; } After modifying your Nginx configuration, remember to reload or restart your Nginx service for the changes to take effect.

Severity

CVSS 3.1

5.1 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-312 Cleartext Storage of Sensitive Information
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • mautic/core (Packagist): fixed in 4.4.16, 5.2.6, 6.0.2

Ask an AI about this CVE

Show the promptExplain CVE-2024-47056 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-47056?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-47056?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-47056 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Mauticfrom > 4.4.0 before < 6.0.2, < 5.2.6, <4.4.16

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h2wg-v8wg-jhxhPackagistmautic/core>=4.4.0 <4.4.164.4.16
GHSA-h2wg-v8wg-jhxhPackagistmautic/core>=5.0.0-alpha <5.2.65.2.6
GHSA-h2wg-v8wg-jhxhPackagistmautic/core>=6.0.0-alpha <6.0.26.0.2

Attack patterns (CAPEC)

  • CAPEC-37 Retrieve Embedded Sensitive Data Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON