CVEfocus › CVE database › CVE-2020-26262

CVE-2020-26262Loopback bypass in Coturn

CVSS 7.2 HighEPSS 1.5% (higher than 75% of CVEs)Published 2021-01-13Updated 2024-08-04Assigner: GitHub_M

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.

CWE-441CWE-682

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04coturnFixed4.5.1.1-1.1ubuntu0.20.04.2UBUNTU-CVE-2020-26262
Ubuntu 18.04coturnFixed4.5.0.7-1ubuntu2.18.04.3UBUNTU-CVE-2020-26262
Ubuntu 16.04coturnFixed4.5.0.3-1ubuntu0.4UBUNTU-CVE-2020-26262
Debian 14coturnFixed4.5.2-1DEBIAN-CVE-2020-26262
Debian 13coturnFixed4.5.2-1DEBIAN-CVE-2020-26262
Debian 12coturnFixed4.5.2-1DEBIAN-CVE-2020-26262
Alpine Linux 3.24coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.23coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.22coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.21coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.20coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.19coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.18coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.17coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.16coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.15coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.14coturnFixed4.5.2-r0ALPINE-CVE-2020-26262
Alpine Linux 3.13coturnFixed4.5.2-r0ALPINE-CVE-2020-26262

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.