1. Archivio CVE
  2. 2009
  3. CVE-2009-2936

CVE-2009-2936

7.5 Gravità alta CVSS v2.0 · fonte NVD AV:N/AC:L/Au:N/C:P/I:P/A:P 7.5 – Alta

Descrizione

The Command Line Interface (aka Server CLI or administration interface) in the master process in the reverse proxy server in Varnish before 2.1.0 does not require authentication for commands received through a TCP port, which allows remote attackers to (1) execute arbitrary code via a vcl.inline directive that provides a VCL configuration file containing inline C code; (2) change the ownership of the master process via param.set, stop, and start directives; (3) read the initial line of an arbitrary file via a vcl.load directive; or (4) conduct cross-site request forgery (CSRF) attacks that leverage a victim's location on a trusted network and improper input validation of directives. NOTE: the vendor disputes this report, saying that it is "fundamentally misguided and pointless.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
varnish.projects.linpro varnish 0.9 –
varnish.projects.linpro varnish 0.9.1 –
varnish.projects.linpro varnish 1.0 –
varnish.projects.linpro varnish 1.0.1 –
varnish.projects.linpro varnish 1.0.2 –
varnish.projects.linpro varnish 1.0.3 –
varnish.projects.linpro varnish 1.0.4 –
varnish.projects.linpro varnish 1.1 –
varnish.projects.linpro varnish 1.1.1 –
varnish.projects.linpro varnish 1.1.2 –
varnish.projects.linpro varnish 2.0 –
varnish.projects.linpro varnish 2.0 beta1 –
varnish.projects.linpro varnish 2.0 beta2 –
varnish.projects.linpro varnish 2.0 rc1 –
varnish.projects.linpro varnish 2.0.1 –
varnish.projects.linpro varnish 2.0.2 –
varnish.projects.linpro varnish 2.0.3 –
varnish.projects.linpro varnish 2.0.4 –
varnish.projects.linpro varnish 2.0.5 –
varnish.projects.linpro varnish 2.0.6 –

Tipo di vulnerabilità

CWE-287 Autenticazione impropria

Quando un soggetto dichiara una certa identità, il prodotto non verifica, o verifica in modo insufficiente, che la dichiarazione sia vera.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità, Controllo degli accessi Leggere i dati dell’applicazione, Ottenere privilegi o assumere un’altra identità, Eseguire codice o comandi non autorizzati
Questo errore può esporre risorse o funzioni a soggetti non previsti, fornendo all’attaccante informazioni sensibili o permettendogli perfino di eseguire codice arbitrario.

Come si previene

Architettura e progettazione · Librerie o framework Usa un framework o una libreria di autenticazione, come la funzione Authentication di OWASP ESAPI.

Tutte le 5.274 CVE di tipo CWE-287, con andamento e prevenzione

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