CVE-2024-47056
28.05.2025, 17:15
SummaryThis advisory addresses a security vulnerability in Mautic where sensitive .envconfiguration 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 .envFile Exposure: The .envfile, 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 .envfiles for production data. For Apache users:Ensure your web server is configured to respect .htaccessfiles. For Nginx users:As Nginx does not inherently support .htaccessfiles, you must manually add a configuration block to your Nginx server configuration to deny access to .envfiles. 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.Enginsight
Awaiting analysis
This vulnerability is currently awaiting analysis.
Common Weakness Enumeration