1. Archivio CVE
  2. 2020
  3. CVE-2020-7943

CVE-2020-7943

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 7.5 – Alta

Descrizione

Puppet Server and PuppetDB provide useful performance and debugging information via their metrics API endpoints. For PuppetDB this may contain things like hostnames. Puppet Server reports resource names and titles for defined types (which may contain sensitive information) as well as function names and class names. Previously, these endpoints were open to the local network. PE 2018.1.13 & 2019.5.0, Puppet Server 6.9.2 & 5.3.12, and PuppetDB 6.9.1 & 5.2.13 disable trapperkeeper-metrics /v1 metrics API and only allows /v2 access on localhost by default. This affects software versions: Puppet Enterprise 2018.1.x stream prior to 2018.1.13 Puppet Enterprise prior to 2019.5.0 Puppet Server prior to 6.9.2 Puppet Server prior to 5.3.12 PuppetDB prior to 6.9.1 PuppetDB prior to 5.2.13 Resolved in: Puppet Enterprise 2018.1.13 Puppet Enterprise 2019.5.0 Puppet Server 6.9.2 Puppet Server 5.3.12 PuppetDB 6.9.1 PuppetDB 5.2.13

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
puppet puppet enterprise >= 2018.1.0 < 2018.1.15 –
puppet puppet enterprise >= 2019.0 < 2019.7.0 –
puppet puppet server < 5.3.13 –
puppet puppet server >= 6.0.0 < 6.11.1 –
puppet puppetdb < 5.2.15 –
puppet puppetdb >= 6.0.0 < 6.10.1 –
Tutte le 90 vulnerabilità di Puppet Enterprise

Tipo di vulnerabilità

CWE-276 Permessi predefiniti errati

Durante l’installazione i file vengono creati con permessi che consentono a chiunque di modificarli.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità Leggere i dati dell’applicazione, Modificare i dati dell’applicazione

Come si previene

Architettura e progettazione · Esercizio The architecture needs to access and modification attributes for files to only those users who actually require those actions.
Architettura e progettazione · Separazione dei privilegi Suddividi il sistema in compartimenti, con aree sicure i cui confini di fiducia siano tracciati senza ambiguità. Non lasciare uscire i dati sensibili da questi confini e presta sempre attenzione quando interagisci con un compartimento esterno all’area sicura. La suddivisione va prevista già in fase di progettazione e deve favorire la separazione dei privilegi; per decidere quando usare i privilegi e quando rinunciarvi, segui il principio del privilegio minimo.

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

Tutte le 1.555 CVE di tipo CWE-276, con andamento e prevenzione

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