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

CVE-2020-26262

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

Descrizione

Coturn is free open source implementation of TURN and STUN Server. Coturn before version 4.5.2 by default does not allow peers to connect and relay packets to loopback addresses in the range of `127.x.x.x`. However, it was observed that when sending a `CONNECT` request with the `XOR-PEER-ADDRESS` value of `0.0.0.0`, a successful response was received and subsequently, `CONNECTIONBIND` also received a successful response. Coturn then is able to relay packets to the loopback interface. Additionally, when coturn is listening on IPv6, which is default, the loopback interface can also be reached by making use of either `[::1]` or `[::]` as the peer address. By using the address `0.0.0.0` as the peer address, a malicious user will be able to relay packets to the loopback interface, unless `--denied-peer-ip=0.0.0.0` (or similar) has been specified. Since the default configuration implies that loopback peers are not allowed, coturn administrators may choose to not set the `denied-peer-ip` setting. The issue patched in version 4.5.2. As a workaround the addresses in the address block `0.0.0.0/8`, `[::1]` and `[::]` should be denied by default unless `--allow-loopback-peers` has been specified.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
coturn project coturn < 4.5.2 –
fedoraproject fedora 32 –
fedoraproject fedora 33 –
Tutte le 15 vulnerabilità di Coturn Project Coturn

Tipo di vulnerabilità

CWE-441 Unintended Proxy or Intermediary

The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere.

Impatto sui sistemi

AmbitoImpatto
Non ripudio, Controllo degli accessi Ottenere privilegi o assumere un’altra identità, Nascondere le proprie attività, Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione Enforce the use of strong mutual authentication mechanism between the two parties.
Architettura e progettazione Whenever a product is an intermediary or proxy for transactions between two other components, the proxy core should not drop the identity of the initiator of the transaction. The immutability of the identity of the initiator must be maintained and should be forwarded all the way to the target.

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

Tutte le 235 CVE di tipo CWE-441, con andamento e prevenzione

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