1. Archivio CVE
  2. 2017
  3. CVE-2017-9798

CVE-2017-9798

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

Apache httpd allows remote attackers to read secret data from process memory if the Limit directive can be set in a user's .htaccess file, or if httpd.conf has certain misconfigurations, aka Optionsbleed. This affects the Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27. The attacker sends an unauthenticated OPTIONS HTTP request when attempting to read secret data. This is a use-after-free issue and thus secret data is not always sent, and the specific data depends on many factors including configuration. Exploitation with .htaccess can be blocked with a patch to the ap_limit_section function in server/core.c.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apache http server <= 2.2.34 –
apache http server 2.4.0 –
apache http server 2.4.1 –
apache http server 2.4.2 –
apache http server 2.4.3 –
apache http server 2.4.4 –
apache http server 2.4.6 –
apache http server 2.4.7 –
apache http server 2.4.9 –
apache http server 2.4.10 –
apache http server 2.4.12 –
apache http server 2.4.16 –
apache http server 2.4.17 –
apache http server 2.4.18 –
apache http server 2.4.20 –
apache http server 2.4.23 –
apache http server 2.4.25 –
apache http server 2.4.26 –
apache http server 2.4.27 –
debian debian linux 7.0 –
debian debian linux 8.0 –
debian debian linux 9.0 –
Tutte le 351 vulnerabilità di Apache Http Server

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

Tutte le 9.594 CVE di tipo CWE-416, con andamento e prevenzione

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