1. Archivio CVE
  2. 2024
  3. CVE-2024-47056

CVE-2024-47056

5.1 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L 5.1 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mautic mautic >= > 4.4.0 < < 6.0.2, < 5.2.6, <4.4.16 –
Tutte le 22 vulnerabilità di Mautic

Tipo di vulnerabilità

CWE-312 Informazioni sensibili conservate in chiaro

Il prodotto conserva informazioni sensibili senza cifrarle, in una risorsa che potrebbe essere accessibile ad altri.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo · Configurazione del sistema · Esercizio When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to encrypt the data at rest.
Sviluppo · Configurazione del sistema · Esercizio In some systems/environments such as cloud, the use of double encryption (at both the software and hardware layer) might be required, and the developer might be solely responsible for both layers, instead of shared responsibility with the administrator of the broader system/environment.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 846 CVE di tipo CWE-312, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org