SecurityContext

CVE-2024-47056: Mautic - Sensitive Information Disclosure

  • Cve: CVE-2024-47056
  • Name: Mautic - Sensitive Information Disclosure
  • Description: 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.
  • Impact: Unauthenticated attackers can access sensitive configuration data, including database credentials and API keys, risking full system compromise.
  • Remediation: Update Mautic to the latest version and configure web server to deny access to .env files (e.g., .htaccess for Apache or deny rules for Nginx).
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
  • Epss score: 0.00123
  • Epss percentile: 0.02075
  • Assignee: [email protected]
  • Published at: 2025-05-28T17:15:23Z
  • Age in days: 545
  • Modified at: 2026-06-17T07:56:27Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-47056
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-312Cleartext Storage of Sensitive Information

References

UrlSourceTags
https://github.com/mautic/mautic/security/advisories/GHSA-h2wg-v8wg-jhxhnvd

Products

ProductAffectedPlatform boundSourcesUrl
acquia:mautic< < 6.0.2, < 5.2.6, <4.4.16nocna_alias/v1/products/acquia/mautic

Projects

RepositoryLink kindsIndexedUrl
mautic/mauticpackage, security_advisoryyes/v1/repositories/mautic/mautic

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 3694
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports