1. Archivio CVE
  2. 2018
  3. CVE-2018-7544

CVE-2018-7544

9.1 Gravità critica CVSS v3.0 · fonte NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H 9.1 – Critica

Descrizione

A cross-protocol scripting issue was discovered in the management interface in OpenVPN through 2.4.5. When this interface is enabled over TCP without a password, and when no other clients are connected to this interface, attackers can execute arbitrary management commands, obtain sensitive information, or cause a denial of service (SIGTERM) by triggering XMLHttpRequest actions in a web browser. This is demonstrated by a multipart/form-data POST to http://localhost:23000 with a "signal SIGTERM" command in a TEXTAREA element. NOTE: The vendor disputes that this is a vulnerability. They state that this is the result of improper configuration of the OpenVPN instance rather than an intrinsic vulnerability, and now more explicitly warn against such configurations in both the management-interface documentation, and with a runtime warning

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
openvpn openvpn <= 2.4.5 –
Tutte le 66 vulnerabilità di Openvpn

Tipo di vulnerabilità

CWE-134 Stringa di formato controllata dall’esterno (format string)

Il prodotto usa una funzione che accetta una stringa di formato, ma quella stringa proviene da una fonte esterna.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Modificare la memoria, Eseguire codice o comandi non autorizzati

Come si previene

Requisiti Choose a language that is not subject to this flaw.
Sviluppo Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings.
Build e compilazione Run compilers and linkers with high warning levels, since they may detect incorrect usage.

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

Tutte le 435 CVE di tipo CWE-134, con andamento e prevenzione

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